This is a tool to scrape World of Warcraft realm and realm-connection data from the Blizzard Developer API, primarily for use in the LibRealmInfo library.
- Run
yarn startornpm startornode index.js. - See the generated
connectionData.jsonandrealmData.jsonfiles in theoutputdirectory.
Total running time is over 8 minutes, as a delay of 12 ms is enforced between API calls in order to comply with the "100 requests per second" limit for free accounts.
- Optionally, run
yarn convertornpm convertornode convert.js. - See the generated
data.luafile in theoutputdirectory.
- Install Node.js
- Optionally, install Yarn
- Get a Blizzard API Key
- Run
yarn installornpm install - Create a
.envfile:CLIENT_ID=<your Blizzard API key> CLIENT_SECRET=<your Blizzard API secret>
Zlib license. See the LICENSE file for the full text.