Client
Player
getPlayer
Refers to /players/{tag} endpoint from the official docs.
$player = $client->getPlayer('tag');getPlayerBattleLog
Refers to /players/{tag}/battlelog endpoint from the official docs.
$playerBattleLog = $client->getPlayerBattleLog('tag');Club
getClub
Refers to /clubs/{clubTag} endpoint from the official docs.
$club = $client->getClub('club tag')getClubMembers
Refers to /clubs/{clubTag}/members endpoint from the official docs.
$clubMembers = $client->getClubMembers('club tag')Ranking
getSeasonRanking
Refers to /rankings/{countryCode}/powerplay/seasons/{seasonId} endpoint from the official docs.
get the rankings for a season and location
@params string countryCode
@params string seasonId
@return RankingList
$seasonRanking = $client->getSeasonRanking(); // default is ('global', 'latest')
$seasonRanking = $client->getSeasonRanking('gb', '56');
getPowerPlaySeasons
Refers to /rankings/{countryCode}/powerplay/seasons endpoint from the official docs.
$seasons = $client->getPowerPlaySeasons()getClubsRanking
Refers to /rankings/{countryCode}clubs endpoint from the official docs.
$clubRankings = $client->getClubRankings();getBrawlerRanking
Refers to /rankings/{countryCode}/brawlers/{brawlerId} endpoint from the official docs.
$brawlerRankings = $client->getBrawlerRankings('global','16000');getPlayersRanking
Refers to /rankings/{countryCode}/players} endpoint from the official docs
$playerRankings = $client->getPlayerRankings('gb');Brawlers
getBrawlers
Refers to /brawlers endpoint from the official docs
$brawlers = $client->getBrawlers();getBrawler
Refers to /brawlers/{brawlerId} endpoint from the official docs
$leon = $client->getBrawler('16021');Events
getEvents
Refers to /events/rotation endpoint from the official docs
$events = $client->getEvents();Last updated
Was this helpful?