API для [CN][1.0AI][Private]deep街区2还没出
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": 85568392932138510,
"domain": null,
"id": 11632338,
"ip": "106.75.249.85",
"port": 27102,
"query": 27131,
"project_id": null,
"color": 0,
"city": "Yangpu",
"description": null,
"game": 581320,
"owner": null,
"boosts": 1,
"last_offline": 1780140815,
"last_online": 1781088734,
"icon": null,
"name": "[CN][1.0AI][Private]deep街区2还没出",
"connect": "106.75.249.85:27102",
"request": "106.75.249.85:27131",
"map": "Hold",
"gamemode": "Survival",
"version": "1.1.0.0",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": true,
"private": true,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779916783,
"last_update": 1781088734,
"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": 403,
"language": "zh",
"parked": false,
"app": {
"id": 23489,
"steam_id": 581320,
"name": "Insurgency: Sandstorm",
"url": "insurgency-sandstorm"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11632338");
$data = json_decode($json, true);
var_dump($data);