API Documentation for BestGames.to
Retrieve a List of All Votes (GET)
Request:
https://bestgames.to/api/servers/stats?api_key=API_KEY
Response:
{ "status": true, "votes": [ { "id": 1, "date": "16.08.2023 15:55:55", "ip_address": "192.168.0.1", "login": "login", "type": 1 } ] }
Retrieving Information About a Single Vote (GET)
Request:
https://bestgames.to/api/servers/stats/show?api_key=API_KEY&vote_id=1
Response:
{ "status": true, "vote": { "id": 1, "date": "16.08.2023 15:55:55", "ip_address": "192.168.0.1", "login": "login", "type": 1 } }
Error Example
{ "status": false, "message": "Invalid API KEY" }