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:
Josh Sherman 2013-12-18 16:38:21 -05:00
parent 7b18541a61
commit 1006cbd436
5 changed files with 100 additions and 21 deletions

View file

@ -2,9 +2,13 @@
class api_v1_leaderboards extends APIv1
{
protected $request_methods = 'GET';
public function __default()
{
$leaderboards = new leaderboards();
return $leaderboards->__default();
}
}