1.2.2 • Published 7 years ago

battlenet-sc2-api v1.2.2

Weekly downloads
3
License
ISC
Repository
github
Last release
7 years ago

Intro

A simple wrapper for the Battle.net StarCraft 2 API.

Setup instructions:

$ npm install battlenet-sc2-api -s

Usage

const BnetApi = require('battlenet-sc2-api')
const API = new BnetApi(API_KEY)

Available endpoints

Profile API

  • API.sc2.profile.get(user_id, username ,region)
  • API.sc2.profile.ladders(user_id, username ,region)
  • API.sc2.profile.matchHistory(user_id, username ,region)

Ladder API

  • API.sc2.ladders.get(ladder_id)

Resources API

  • API.sc2.resources.achievements()
  • API.sc2.resources.rewards()
1.2.2

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago