AK-API is an API to interact with Aura Kingdom Server Files databases. It's built on top of Lumen as a REST API service. This is a proof-of-concept. There is no real authentication system.
## How to use
- Copy .env.example in .env.
- Add a token and set your databases details
- Start to use the API!
## Example
PHP example:
$url = 'api.localhost/api/v1/account/1';
$token = 'UDyt57GD1t8O9ws7H8xZJBBoicv980NA';
$query = $url . '?api_token=' . $token;
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $query);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$request = curl_exec($ch);
curl_close($ch);
$object = json_decode($request);