API для ARK YOLO
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1794483196,
"app": {
"id": 1626086,
"name": "ARK: Survival Ascended",
"steam_id": 2399830,
"url": "ark-survival-ascended"
},
"color": 0,
"connect": "31.214.217.144:5200",
"country": "DE",
"domain": null,
"game": 2399830,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 20034957,
"ip": "31.214.217.144",
"language": "de",
"last_update": 1794763134,
"map": "TheIsland_WP",
"maxplayers": 20,
"name": "ARK YOLO",
"numplayers": 1,
"official": false,
"points": 33,
"port": 5200,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 5200,
"request": "31.214.217.144:5200",
"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": 1794597669,
"last_online": 1794763134,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 7479,
"wipe_period": null,
"isPve": false,
"modIds": "947033,928501,928708,935408,931973",
"dayTime": 39,
"battleye": true,
"gameMode": "TestGameMode_C",
"clusterId": null,
"sessionId": "d7946636feff4e8a8b2731b0ad9c1888",
"modFileIds": "9416180,9416375,9416336,9416260,9441795",
"sessionName": "ARK YOLO - (v98.6)",
"platformType": "PC+PS5+XSX+WINGDK"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/20034957");
$data = json_decode($json, true);
var_dump($data);