dev-master
9999999-dev https://survarium.comSurvarium API For community
The Requires
- php >=5.5
- ext-curl *
The Development Requires
Wallogit.com
2017 © Pedro Peláez
Survarium API For community
It is a recommended example of API client for api.survarium.com. You can request some statistic information about Survarium with help of API., (*1)
You can install it through composer by adding next lines to your composer.json, (*2)
{
"require" : {
"survarium/api" : "dev-master@dev"
}
}
If you do not use composer you should add next line to your php script, (*3)
require DIR . '/autoload.php';
where DIR is filepath to root library directory. You can use $survariumApi object to retrieve necessary data:, (*4)
$survariumApi = new \Survarium\Api\SurvariumApi('test', 'test');
$maxMatchId = $survariumApi->getMaxMatchId();
API server is under development now. You can use it only for test now. In order to get personal credentials for our API, please, use http://api.survarium.com/register, (*5)
Survarium API For community