Had to work out the API parent class a bit. Also closing #8 as the API docs are about done. Time to knock out the rest of the API calls so I can start using this shit.
15 lines
204 B
PHP
15 lines
204 B
PHP
<?php
|
|
|
|
class api_v1_leaderboards extends APIv1
|
|
{
|
|
protected $request_methods = 'GET';
|
|
|
|
public function __default()
|
|
{
|
|
$leaderboards = new leaderboards();
|
|
|
|
return $leaderboards->__default();
|
|
}
|
|
}
|
|
|
|
?>
|