API для 3101 | CHINA - SH
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1793200259,
"app": {
"id": 63,
"name": "DayZ",
"steam_id": 221100,
"url": "dayz"
},
"color": 0,
"connect": "223.166.248.172:10200",
"country": "CN",
"domain": null,
"game": 221100,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19272707,
"ip": "223.166.248.172",
"language": "zh",
"last_update": 1794683630,
"map": "chernarusplus",
"maxplayers": 24,
"name": "3101 | CHINA - SH",
"numplayers": 0,
"official": null,
"points": 60,
"port": 10200,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27016,
"request": "223.166.248.172:27016",
"secured": true,
"status": true,
"steam_id": "90297463923968012",
"version": "1.30.164289",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Шанхай",
"description": "QQ Group: 733955252, YY 89593203.",
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1794643366,
"last_online": 1794683630,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 3660,
"wipe_period": null,
"time": "06:13",
"queue": 0,
"platform": "win",
"timeLeft": "15",
"dedicated": "1",
"clientPort": "0",
"listentype": "d",
"dlc_enabled": false,
"environment": "w",
"a2s_protocol": 17,
"allowedBuild": "0",
"first_person": true,
"requiredBuild": "0",
"requiredVersion": "130",
"players_complete": true,
"night_acceleration": 4
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19272707");
$data = json_decode($json, true);
var_dump($data);