Getting Start
brawlstars-php
brawlstars-php is library to conveniently access and query the BrawlStars API. It includes a pre-defined set of classes that initialise themselves dynamically from API responses.
This package uses the official BrawlStars API. For more information, please visit https://developer.brawlstars.com/
Requirements
To use this package, you need to obtain an API key at https://developer.brawlstars.com/
Installation
Using Composer
composer require ahsan112/brawlstars-php
Usage
When instantiating the BrawlStarsClient, you have to provide your API key:
$client = new BrawlStarsClient('TOKEN');
$player = $client->getPlayer('tag');
$player->soloVictories();
Last updated
Was this helpful?