As of October 2018 the project is not maintained any more.
Node.js wrapper to Battle.net API and selected Blizzard games. Handling endpoint access, authentication, caching and some data manipulation procedures so that other apps of mine don't have to handle that themselves.
- Node.js 8.9.3 LTS or later
- Get an API key and API secret from Battle.net developer portal.
- Copy
.env.sample
file to.env
. ProvideAPI_BATTLENET_KEY
andAPI_BATTLENET_SECRET
with API key and API secret you had obtained from Battle.net. - Set up SSL certificate and key and save them in
ssl/
directory. Locally you can use a self-signed cert. npm install
node start
ornodemon start
if run locally- open the app main path
/
and explore the endpoints by following the links provided in JSON objects
- Battle.net API authentication (both via API key and access token)
- StarCraft II data retrieval:
- Ladder data
- Player ranked matchmaking stats including MMR
Licensed under MIT license. See LICENSE for more info.