Rangers 15x PVE|Monthly|CustomWeapons|Quests|Raidablebases 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 60,
"fps_avg": 60,
"entities_count": 99137,
"world_seed": 2065572241,
"world_size": 4500,
"steam_id": "90286626492410899",
"domain": null,
"id": 10605750,
"ip": "66.51.99.28",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Dallas",
"description": "\nRangers 15x PVE Thank You For Joining \r\n Don't Forget To Join Rangers Discord Click The Visit WebSite Button \r\n Monthly Map Wipes When Rust Force Wipe \r\n BluePrint And BackPack Never Wipe \r\n 15x Gather \r\n Simple PVE Protection \r\n *VIP* https://rangers15xserver.tip4serv.com/ \r\n Kits \r\n Quests \r\n JetPack \r\n Skins \r\n SkillTree \r\n Large BackPack \r\n Cooking \r\n Shop \r\n Raidable Bases \r\n VirtualQuarries",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780624399,
"last_online": 1780654228,
"icon": null,
"name": "Rangers 15x PVE|Monthly|CustomWeapons|Quests|Raidablebases",
"connect": "66.51.99.28:28015",
"request": "66.51.99.28:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 3,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1763321689,
"last_update": 1780654228,
"banned": false,
"wipe": 1780596586,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2172,
"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/10605750");
$data = json_decode($json, true);
var_dump($data);