Working on that API scaffolding
This commit is contained in:
parent
706ebca0cf
commit
7b18541a61
2 changed files with 26 additions and 0 deletions
15
classes/APIv1.php
Normal file
15
classes/APIv1.php
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
class APIv1 extends Module
|
||||||
|
{
|
||||||
|
protected $request_method = 'GET';
|
||||||
|
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
// Checks the request method
|
||||||
|
|
||||||
|
// Checks the key
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
11
modules/api/v1/leaderboards.php
Normal file
11
modules/api/v1/leaderboards.php
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
class api_v1_leaderboards extends APIv1
|
||||||
|
{
|
||||||
|
public function __default()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
Loading…
Add table
Add a link
Reference in a new issue