--阵营PVE|自定义技能Q群1003062325 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": 90285154779315230,
"domain": null,
"id": 11541172,
"ip": "211.159.177.167",
"port": 15786,
"query": 16286,
"color": 0,
"city": "Shenzhen",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1779355418,
"last_online": 1779479461,
"icon": null,
"name": "--阵营PVE|自定义技能Q群1003062325",
"connect": "211.159.177.167:15786",
"request": "211.159.177.167:16286",
"map": "chernarusplus",
"gamemode": null,
"version": "129",
"numplayers": 0,
"maxplayers": 70,
"bots": 88,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779355418,
"last_update": 1779479461,
"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": 5121,
"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.cn/servers/11541172");
$data = json_decode($json, true);
var_dump($data);