API для Tazzvon's Myth of Empires Server
JSON для программ, сайтов и прочего
text
json
{
"response": {
"id": 14024092,
"np": 1,
"key": "eda0f5954da6f0a7811506ed363700d9a5d01ed0",
"type": 2,
"is_as": 0,
"status": true,
"ds_type": 2,
"has_pwd": 0,
"r_hukou": 0,
"category": 1,
"is_as_bm": 0,
"map_name": "LargeTerrain_Central_Main",
"pvp_type": 1,
"host_data": "",
"major_ver": 1,
"maxplayer": 40,
"minor_ver": 128,
"steamaddr": "",
"a_mod_list": "",
"district_id": 9999,
"r_playernum": 40,
"trueplayers": 0,
"pct_playernum": 0,
"master_version": "1787796148",
"master_category": 1,
"master_time_stamp": "2026-08-27 10:02:28",
"auto_get_ip_by_server": true,
"master_format_version": 2,
"steam_id": null,
"domain": null,
"ip": "206.225.140.19",
"port": 28504,
"query": 28504,
"project_id": null,
"color": 0,
"city": "Clarksville",
"description": null,
"game": 1371580,
"owner": null,
"boosts": 1,
"last_offline": 1787509356,
"last_online": 1787796148,
"icon": null,
"name": "Tazzvon's Myth of Empires Server",
"connect": "206.225.140.19:28504",
"request": "206.225.140.19:28504",
"map": "LargeTerrain_Central_Main",
"gamemode": null,
"version": "1.128",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": null,
"private": false,
"country": "US",
"votes": 0,
"points": 30,
"add_date": 1787509356,
"last_update": 1787796148,
"ban_reason": null,
"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": 181,
"language": "en",
"parked": false,
"app": {
"id": 1625868,
"steam_id": 1371580,
"name": "Myth of Empires",
"url": "myth-of-empires"
},
"server_owner": null,
"mods": [],
"disabled_modules": [],
"map_url": null
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/14024092");
$data = json_decode($json, true);
var_dump($data);