GreenZone Custom TvT ACE/RHS/USAF/GREF/SAF 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": "90286701860648987",
"domain": null,
"id": 11691490,
"ip": "176.195.99.201",
"port": 2502,
"query": 2503,
"project_id": null,
"color": 0,
"city": "Moscow",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1780810999,
"last_online": 1780830196,
"icon": null,
"name": "GreenZone Custom TvT ACE/RHS/USAF/GREF/SAF",
"connect": "176.195.99.201:2502",
"request": "176.195.99.201:2503",
"map": "cup_chernarus_A3",
"gamemode": "[Chernarus 2020] TvT50 Domination! Two Teams Ranked [4.70]",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1780224975,
"last_update": 1780830196,
"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": 3607,
"language": "ru",
"parked": false,
"app": {
"id": 61,
"steam_id": 107410,
"name": "Arma 3",
"url": "arma-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11691490");
$data = json_decode($json, true);
var_dump($data);