API для Underland4377
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1794615686,
"app": {
"id": 1626086,
"name": "ARK: Survival Ascended",
"steam_id": 2399830,
"url": "ark-survival-ascended"
},
"color": 0,
"connect": "31.214.238.197:5090",
"country": "US",
"domain": null,
"game": 2399830,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 20095150,
"ip": "31.214.238.197",
"language": "en",
"last_update": 1794772652,
"map": "PROMETEUS_WP",
"maxplayers": 20,
"name": "Underland4377",
"numplayers": 2,
"official": false,
"points": 36,
"port": 5090,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 5090,
"request": "31.214.238.197:5090",
"secured": null,
"status": true,
"steam_id": null,
"version": "98.6",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": null,
"city": "Клифтон",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": null,
"last_online": 1794772652,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 4337,
"wipe_period": null,
"isPve": true,
"modIds": "947033,935408,928548,933099,930494,929578,1188679,949521,928621,946694,929800,947982,953154,935399,939228,1454964,1079535",
"dayTime": 34,
"battleye": true,
"gameMode": "TestGameMode_C",
"clusterId": null,
"sessionId": "09e9c72c6649403d9ddbbcebb2048210",
"modFileIds": "9416180,9416260,9609816,9591467,9416428,9416682,9416938,9416654,9416416,9416709,9416850,9418041,9416407,9417205,9417807,9519733,9416057",
"sessionName": "Underland4377 - (v98.6)",
"platformType": "PC"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/20095150");
$data = json_decode($json, true);
var_dump($data);