Myth of Empires
API для 90284549609671694
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11487195json
{
"response": {
"steam_id": "90284549609671694",
"domain": null,
"id": 11487195,
"ip": "167.86.102.179",
"port": 28100,
"query": 27015,
"color": 0,
"city": "Lauterbourg",
"description": null,
"game": 1371580,
"owner": null,
"boosts": 1,
"last_offline": 1777561944,
"score": 0,
"last_online": 1777479678,
"icon": null,
"name": "90284549609671694",
"connect": "167.86.102.179:28100",
"request": "167.86.102.179:27015",
"map": "LargeTerrain_Central_Main",
"gamemode": "SG",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 0,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1774979646,
"last_update": 1777561944,
"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": 197,
"language": "fr",
"parked": false,
"app": {
"id": 1625868,
"steam_id": 1371580,
"name": "Myth of Empires",
"url": "myth-of-empires"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11487195");
$data = json_decode($json, true);
var_dump($data);