API для Asia-PVP-SmallTribes-Ragnarok9526
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1787267261,
"app": {
"id": 1626086,
"name": "ARK: Survival Ascended",
"steam_id": 2399830,
"url": "ark-survival-ascended"
},
"color": 0,
"connect": "69.41.165.178:7783",
"country": "HK",
"domain": null,
"game": 2399830,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 13894707,
"ip": "69.41.165.178",
"language": "zh",
"last_update": 1794770910,
"map": "Ragnarok_WP",
"maxplayers": 70,
"name": "Asia-PVP-SmallTribes-Ragnarok9526",
"numplayers": 7,
"official": true,
"points": 40,
"port": 7783,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 7783,
"request": "69.41.165.178:7783",
"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": 1794109863,
"last_online": 1794770910,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 1558,
"wipe_period": null,
"isPve": false,
"modIds": null,
"dayTime": 6817,
"battleye": true,
"gameMode": "TestGameMode_C",
"clusterId": "SmallTribes",
"sessionId": "2b5f8c8fa708451aa8a12447c2a7503d",
"modFileIds": null,
"sessionName": "Asia-PVP-SmallTribes-Ragnarok9526 - (v98.6)",
"platformType": "PC+PS5+XSX"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/13894707");
$data = json_decode($json, true);
var_dump($data);