OLDSKOOL GUYS PVE 2X GATHER ACTIVE ADMINS 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 33,
"fps_avg": 26,
"entities_count": 154304,
"world_seed": 495421946,
"world_size": 5000,
"steam_id": 90286604620189710,
"domain": null,
"id": 10871065,
"ip": "144.48.106.189",
"port": 28035,
"query": 28037,
"color": 0,
"city": "Chicago",
"description": "OLDSKOOl RUST SERVER ACTIVE ADMINS SKILL TREE TO ENHANCE YOUR PLAY, EVENTS= DUNGEONS OPERATIONAL FORTRESS, TRAINYARD, SUBMARINE EVEN, BRADLEY DROPS, FERRY TERMINAL EVENT, HARBOUR, HEAVY OIL RIG, KING OF THE HILL, DOME EVENT, CARGO CONVOY, RADTOWN, ARTIC BASE EVENT, POWER PLANT EVENT",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780597470,
"last_online": 1780626025,
"icon": null,
"name": "OLDSKOOL GUYS PVE 2X GATHER ACTIVE ADMINS",
"connect": "144.48.106.189:28035",
"request": "144.48.106.189:28037",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 2,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 63,
"add_date": 1768318512,
"last_update": 1780626025,
"banned": false,
"wipe": 1780597925,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1083,
"language": "en",
"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/10871065");
$data = json_decode($json, true);
var_dump($data);