- Q群1003062325 新世界征途 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": "90286271936407577",
"domain": null,
"id": 11611587,
"ip": "49.232.193.142",
"port": 38952,
"query": 39452,
"color": 0,
"city": "Beijing",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1780473258,
"last_online": 1780563832,
"icon": null,
"name": "- Q群1003062325 新世界征途",
"connect": "49.232.193.142:38952",
"request": "49.232.193.142:39452",
"map": "chernarusplus",
"gamemode": null,
"version": "129",
"numplayers": 0,
"maxplayers": 70,
"bots": 126,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779915686,
"last_update": 1780563832,
"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": 7442,
"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/11611587");
$data = json_decode($json, true);
var_dump($data);