API для 90297530031853580
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1759829183,
"app": {
"id": 1625868,
"name": "Myth of Empires",
"steam_id": 1371580,
"url": "myth-of-empires"
},
"color": 0,
"connect": "185.94.29.146:5012",
"country": "DE",
"domain": null,
"game": 1371580,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 10431579,
"ip": "185.94.29.146",
"language": "de",
"last_update": 1794784560,
"map": "LargeTerrain_Desert_Main",
"maxplayers": 0,
"name": "90297530031853580",
"numplayers": 0,
"official": null,
"points": 0,
"port": 5012,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 5022,
"request": "185.94.29.146:5022",
"secured": true,
"status": false,
"steam_id": "90297530031853580",
"version": "1.0.0.0",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Франкфурт-на-Майне",
"description": null,
"disabled_modules": [],
"gamemode": "SG",
"hidden": false,
"last_offline": 1794784560,
"last_online": 1794773168,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 190,
"wipe_period": null,
"P2PADDR": "185.94.29.146",
"P2PPORT": "5012",
"CONMETHOD": "Direct",
"OWNINGNAME": "90297530031853580",
"listentype": "d",
"environment": "w",
"SESSIONFLAGS": "552",
"a2s_protocol": 17,
"MATCHTIMEOUT_f": "120.000000",
"players_complete": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10431579");
$data = json_decode($json, true);
var_dump($data);