Age of Chivalry
API для -=THE BATTLEGROUNDS *HARDCORE*=-
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/36078json
{
"response": {
"steam_id": 90282906946398220,
"domain": null,
"id": 36078,
"ip": "207.250.248.250",
"port": 27016,
"query": 27016,
"color": 0,
"city": "Milwaukee",
"description": "",
"game": 17510,
"owner": null,
"boosts": 1,
"last_offline": 1773496887,
"score": null,
"last_online": 1776320462,
"icon": null,
"name": "-=THE BATTLEGROUNDS *HARDCORE*=-",
"connect": "207.250.248.250:27016",
"request": "207.250.248.250:27016",
"map": "aoc_kingofthefort_b2",
"gamemode": "Age of Chivalry",
"version": "1.0.0.6",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1516802175,
"last_update": 1776320462,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1,
"language": "en",
"parked": false,
"app": {
"id": 17,
"steam_id": 17510,
"name": "Age of Chivalry",
"url": "age-of-chivalry"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/36078");
$data = json_decode($json, true);
var_dump($data);