API для Panic Station-Scorched Earth 10x
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1794446413,
"app": {
"id": 1626086,
"name": "ARK: Survival Ascended",
"steam_id": 2399830,
"url": "ark-survival-ascended"
},
"color": 0,
"connect": "31.214.163.121:5420",
"country": "US",
"domain": null,
"game": 2399830,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 20020910,
"ip": "31.214.163.121",
"language": "en",
"last_update": 1794772614,
"map": "ScorchedEarth_WP",
"maxplayers": 20,
"name": "Panic Station-Scorched Earth 10x",
"numplayers": 0,
"official": false,
"points": 30,
"port": 5420,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 5420,
"request": "31.214.163.121:5420",
"secured": null,
"status": true,
"steam_id": null,
"version": "98.6",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Лос-Анджелес",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1794446426,
"last_online": 1794772614,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 48106,
"wipe_period": null,
"isPve": false,
"modIds": "928548,941697,929420,929800,928597,953154,935399,1114037,1382641,970540,1182199,986540,1105106,972484,947733,1165229,928793,949310,1320097,935528,984371,941145,1063373,1492812,1222154",
"dayTime": 26,
"battleye": true,
"gameMode": "TestGameMode_C",
"clusterId": "8FMQBxOC6_59FAlO-InqqXnBh1J28cNXPmbgcshoB2k",
"sessionId": "d7a802c7f53143b0ab97d0b3e8be3ec4",
"modFileIds": "9524492,9416741,9416252,9416850,9416522,9416407,9417205,9442322,9602987,9505875,9606862,9417095,9505910,9417201,9416610,9418322,9416316,9417572,9420489,9416765,9445272,9417017,9416825,9440132,9193645",
"sessionName": "Panic Station-Scorched Earth 10x - (v98.6)",
"platformType": "PC+PS5+XSX+WINGDK"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/20020910");
$data = json_decode($json, true);
var_dump($data);