API для EU-PVE-Aberration5701
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1787267263,
"app": {
"id": 1626086,
"name": "ARK: Survival Ascended",
"steam_id": 2399830,
"url": "ark-survival-ascended"
},
"color": 0,
"connect": "5.62.112.6:7783",
"country": "DE",
"domain": null,
"game": 2399830,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 13895403,
"ip": "5.62.112.6",
"language": "de",
"last_update": 1794765534,
"map": "Aberration_WP",
"maxplayers": 70,
"name": "EU-PVE-Aberration5701",
"numplayers": 5,
"official": true,
"points": 37,
"port": 7783,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 7783,
"request": "5.62.112.6: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": 1794019860,
"last_online": 1794765534,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 2439,
"wipe_period": null,
"isPve": true,
"modIds": null,
"dayTime": 18875,
"battleye": true,
"gameMode": "TestGameMode_C",
"clusterId": "PVECrossplay",
"sessionId": "b22cf18b6fb04b4b98c677ea36ec1de2",
"modFileIds": null,
"sessionName": "EU-PVE-Aberration5701 - (v98.6)",
"platformType": "PC+XSX+WINGDK+PS5"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/13895403");
$data = json_decode($json, true);
var_dump($data);