API для 假假的未转变者中国南方服务器
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "85568392936265556",
"domain": null,
"id": 11578466,
"ip": "114.66.56.117",
"port": 44531,
"query": 44531,
"color": 0,
"city": "Beijing",
"description": null,
"game": 304930,
"owner": null,
"boosts": 1,
"last_offline": 1780016016,
"last_online": 1780224642,
"icon": "https://tc.tyteam.cn/250625/wSUZgjWi.jpg",
"name": "假假的未转变者中国南方服务器",
"connect": "114.66.56.117:44531",
"request": "114.66.56.117:44531",
"map": "中国南方",
"gamemode": "圆心云服务器提供",
"version": "3.26.3.2",
"numplayers": 2,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 39,
"add_date": 1779356922,
"last_update": 1780224642,
"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": 77,
"language": "zh",
"parked": false,
"app": {
"id": 48,
"steam_id": 304930,
"name": "Unturned",
"url": "unturned"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11578466");
$data = json_decode($json, true);
var_dump($data);