Got that first API call done
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.
This commit is contained in:
parent
7b18541a61
commit
1006cbd436
5 changed files with 100 additions and 21 deletions
|
@ -2,9 +2,13 @@
|
|||
|
||||
class api_v1_leaderboards extends APIv1
|
||||
{
|
||||
protected $request_methods = 'GET';
|
||||
|
||||
public function __default()
|
||||
{
|
||||
|
||||
$leaderboards = new leaderboards();
|
||||
|
||||
return $leaderboards->__default();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue