wownow

Crates.iowownow
lib.rswownow
version0.3.0
sourcesrc
created_at2024-02-29 08:13:07.662122
updated_at2024-03-14 18:15:20.522266
descriptionA CLI tool to get the current versions of World of Warcraft
homepagehttps://github.com/t-mart/wownow
repositoryhttps://github.com/t-mart/wownow
max_upload_size
id1157488
size60,122
Tim Martin (t-mart)

documentation

https://docs.rs/wownow

README

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"
        },
        ...
      ]
    }
  ]
}
Commit count: 0

cargo fmt