ARK: Survival Evolved
API для Itei 3XG 3XT (2)
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/724049json
{
"response": {
"steam_id": "90279672000337930",
"domain": null,
"id": 724049,
"ip": "64.74.161.184",
"port": 27030,
"query": 27030,
"color": 0,
"city": "Pointe-Claire",
"description": "",
"game": 346110,
"owner": null,
"boosts": 1,
"last_offline": 1774697546,
"score": null,
"last_online": 1776800457,
"icon": null,
"name": "Itei 3XG 3XT (2)",
"connect": "64.74.161.184:27030",
"request": "64.74.161.184:27030",
"map": "TheIsland",
"gamemode": "TestGameMode_SuperTranqRifle_C",
"version": "304.41",
"numplayers": 0,
"maxplayers": 35,
"bots": 0,
"secured": true,
"private": true,
"country": "CA",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1672180165,
"last_update": 1776800457,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4720,
"language": "en",
"parked": false,
"app": {
"id": 67,
"steam_id": 346110,
"name": "ARK: Survival Evolved",
"url": "ark-survival-evolved"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/724049");
$data = json_decode($json, true);
var_dump($data);