#version #world-of-warcraft #cli-tool #add-on #pipeline #region #wow

bin+lib wownow

A CLI tool to get the current versions of World of Warcraft

3 releases (breaking)

0.3.0 Mar 14, 2024
0.2.0 Feb 29, 2024
0.1.0 Feb 29, 2024

#1458 in Command line utilities

Download history 222/week @ 2024-02-28 11/week @ 2024-03-06 101/week @ 2024-03-13 9/week @ 2024-03-20 18/week @ 2024-03-27 37/week @ 2024-04-03

167 downloads per month

MIT license

32KB
727 lines

wownow

A stupid CLI tool to get the current versions of World of Warcraft.

This tool is written to support WoW addon development in CI pipelines. For example, you could use it to check that your addon is declares the current version of the game, and not an outdated one.

wownow issues TACT requests to Blizzard's version servers, parses the response, and outputs a JSON object stating the current version and build for each region of each product. See an output example below.

wownow used to be "stupid" because it just scraped from the the homepage of Wago Tools, even though there was a JSON HTTP API endpoint (see #1). Now, it's less stupid.

Installation

Generally, build the project from source:

cargo install wownow

For Linux platforms, you can also download a pre-built binary from the releases page. Or, you can use the binstall cargo tool to install it:

cargo binstall wownow

Usage

$ wownow
{
  "retrieval_datetime": "2024-03-14T17:56:25.593962700Z",
  "products": [
    {
      "name": "wow",
      "versions": [
        {
          "region": "us",
          "version": "10.2.5",
          "build": "53584"
        },
        {
          "region": "eu",
          "version": "10.2.5",
          "build": "53584"
        },
        ...
      ]
    },
    {
      "name": "wow_classic",
      "versions": [
        {
          "region": "us",
          "version": "3.4.3",
          "build": "53622"
        },
        {
          "region": "eu",
          "version": "3.4.3",
          "build": "53622"
        },
        ...
      ]
    },
    {
      "name": "wow_classic_era",
      "versions": [
        {
          "region": "us",
          "version": "1.15.1",
          "build": "53623"
        },
        {
          "region": "eu",
          "version": "1.15.1",
          "build": "53623"
        },
        ...
      ]
    }
  ]
}

Dependencies

~5–13MB
~123K SLoC