【叶问PVE】硬核/禁科技树/慢节奏/养老/事件 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": "90286731218255875",
"domain": null,
"id": 10437075,
"ip": "43.142.161.97",
"port": 29500,
"query": 29501,
"project_id": null,
"color": 0,
"city": "Shanghai",
"description": null,
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780869854,
"last_online": 1780929082,
"icon": null,
"name": "【叶问PVE】硬核/禁科技树/慢节奏/养老/事件",
"connect": "43.142.161.97:29500",
"request": "43.142.161.97:29501",
"map": "Procedural Map",
"gamemode": "Rust",
"version": "2627",
"numplayers": 1,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1759910405,
"last_update": 1780929082,
"banned": false,
"wipe": 1780649248,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 6704,
"language": "zh",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/10437075");
$data = json_decode($json, true);
var_dump($data);