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 start
ornpm start
ornode index.js
. - See the generated
connectionData.json
andrealmData.json
files in theoutput
directory.
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 convert
ornpm convert
ornode convert.js
. - See the generated
data.lua
file in theoutput
directory.
- Install Node.js
- Optionally, install Yarn
- Get a Blizzard API Key
- Run
yarn install
ornpm install
- Create a
.env
file:CLIENT_ID=<your Blizzard API key> CLIENT_SECRET=<your Blizzard API secret>
Zlib license. See the LICENSE
file for the full text.