API для ‖ 欢迎来到地狱 ‖ 这里没有新手,只有幸存者
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90285154779109406",
"domain": null,
"id": 11541296,
"ip": "152.136.172.80",
"port": 13104,
"query": 13604,
"color": 0,
"city": "Beijing",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1780591416,
"last_online": 1779864138,
"icon": null,
"name": "‖ 欢迎来到地狱 ‖ 这里没有新手,只有幸存者",
"connect": "152.136.172.80:13104",
"request": "152.136.172.80:13604",
"map": "chernarusplus",
"gamemode": null,
"version": "129",
"numplayers": 0,
"maxplayers": 70,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779355422,
"last_update": 1780591416,
"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": 11185,
"language": "zh",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11541296");
$data = json_decode($json, true);
var_dump($data);