API для duel these nuts on your chin
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90286437651778575",
"domain": null,
"id": 11074390,
"ip": "63.143.56.66",
"port": 16645,
"query": 16655,
"project_id": null,
"color": 0,
"city": "Chicago",
"description": null,
"game": 219640,
"owner": null,
"boosts": 1,
"last_offline": 1781085223,
"last_online": 1780243909,
"icon": null,
"name": "duel these nuts on your chin",
"connect": "63.143.56.66:16645",
"request": "63.143.56.66:16655",
"map": "aoclts-stoneshillvillage_p",
"gamemode": "Chivalry: Medieval Warfare",
"version": "1.0.0.1",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1769974789,
"last_update": 1781085223,
"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": 22,
"language": "en",
"parked": false,
"app": {
"id": 79,
"steam_id": 219640,
"name": "Chivalry: Medieval Warfare",
"url": "chivalry-medieval-warfare"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11074390");
$data = json_decode($json, true);
var_dump($data);