API для Myth of Empires Linux Test
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1794395907,
"app": {
"id": 1625868,
"name": "Myth of Empires",
"steam_id": 1371580,
"url": "myth-of-empires"
},
"color": 0,
"connect": "144.126.135.44:11888",
"country": "US",
"domain": null,
"game": 1371580,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19981768,
"ip": "144.126.135.44",
"language": "en",
"last_update": 1794784557,
"map": "LargeTerrain_Central2_Main",
"maxplayers": 50,
"name": "Myth of Empires Linux Test",
"numplayers": 0,
"official": null,
"points": 0,
"port": 11888,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 11888,
"request": "144.126.135.44:11888",
"secured": null,
"status": false,
"steam_id": null,
"version": "1.129",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Сент-Луис",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1794784557,
"last_online": 1794395907,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 248,
"wipe_period": null,
"np": 1,
"key": "7a398277d1fc41ff4857804208a1c1cf8e966eca",
"type": 2,
"is_as": 0,
"ds_type": 2,
"has_pwd": 0,
"r_hukou": 0,
"category": 1,
"is_as_bm": 0,
"map_name": "LargeTerrain_Central2_Main",
"pvp_type": 1,
"host_data": "",
"major_ver": 1,
"maxplayer": 50,
"minor_ver": 129,
"steamaddr": "",
"a_mod_list": "-SteamModList=\"3228867260>0>0.0.0\"",
"district_id": 9999,
"r_playernum": 50,
"trueplayers": 0,
"pct_playernum": 0,
"master_version": "1794395898",
"master_category": 1,
"master_time_stamp": "2026-11-11 19:18:18",
"auto_get_ip_by_server": true,
"master_format_version": 2
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19981768");
$data = json_decode($json, true);
var_dump($data);