queryGrandmasterLeaderboard

Returns ladder data for the current season's grandmaster leaderboard.

const StarCraft2API = require('starcraft2-api');

const sc2api = new StarCraft2API({
  region: 'us',
  clientId: 'client id',
  clientSecret: 'client secret'
});

const data = await sc2api.queryGrandmasterLeaderboard(1);

console.log(data);

// Do something with data

Parameters

  • regionId (string / number) - Battle.net region id to retrieve data from
Last Updated: 8/3/2019, 4:41:00 PM