PoBx Cluster - PVE Easy 3 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": "90286885762872349",
"domain": null,
"id": 11608425,
"ip": "158.69.25.235",
"port": 32000,
"query": 32000,
"project_id": null,
"color": 0,
"city": "Montreal",
"description": null,
"game": 251570,
"owner": null,
"boosts": 1,
"last_offline": 1780845260,
"last_online": 1781197839,
"icon": null,
"name": "PoBx Cluster - PVE Easy 3",
"connect": "158.69.25.235:32000",
"request": "158.69.25.235:32000",
"map": "PoBxV212",
"gamemode": "7 Days To Die",
"version": "01.02.06",
"numplayers": 8,
"maxplayers": 100,
"bots": 0,
"secured": false,
"private": false,
"country": "CA",
"status": true,
"votes": 0,
"points": 46,
"add_date": 1779915541,
"last_update": 1781197839,
"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": 169,
"language": "en",
"parked": false,
"app": {
"id": 49,
"steam_id": 251570,
"name": "7 Days to Die",
"url": "7-days-to-die"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11608425");
$data = json_decode($json, true);
var_dump($data);