API для 阿尔卑斯pve_采5\驯5\孵5\成5\叠\A镜\墓
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1785276700,
"app": {
"id": 67,
"name": "ARK: Survival Evolved",
"steam_id": 346110,
"url": "ark-survival-evolved"
},
"color": 0,
"connect": "27.128.198.62:27046",
"country": "CN",
"domain": null,
"game": 346110,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 12925508,
"ip": "27.128.198.62",
"language": "zh",
"last_update": 1794756269,
"map": "Alps",
"maxplayers": 50,
"name": "阿尔卑斯pve_采5\\驯5\\孵5\\成5\\叠\\A镜\\墓",
"numplayers": 18,
"official": null,
"points": 49,
"port": 27046,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27048,
"request": "27.128.198.62:27048",
"secured": true,
"status": true,
"steam_id": "90291889382730770",
"version": "361.7",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Шицзячжуан",
"description": null,
"disabled_modules": [],
"gamemode": "ARK: Survival Evolved",
"hidden": false,
"last_offline": 1794128858,
"last_online": 1794756269,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 843,
"wipe_period": null,
"listentype": "d",
"environment": "w",
"a2s_protocol": 17,
"players_complete": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/12925508");
$data = json_decode($json, true);
var_dump($data);