Skip to content

Api client to fetch results from battle.net's StarCraft API in parallel

License

Notifications You must be signed in to change notification settings

nimmneun/StarCraftApiClient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StarCraftApiClient

Scrutinizer Code Quality Build Status

Simple API client to fetch results from battle.net's StarCraft API in parallel.

$client= new StarCraftApiClient\Client('fancyToken...n3t7n893...')

$client->addProfileMatchesRequest(123321, 'SomeGuy', 'eu');
$client->addProfileLaddersRequest(456654, 'AnotherGuy', 'kr');
$client->addAllProfileRequests(789987, 'SomeOtherGuy', 'us');

$client->run();

echo $client->get('profile.123321.matches')->matches[0]->map

See [demo.php] for more examples.

About

Api client to fetch results from battle.net's StarCraft API in parallel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages