Rangers Vanilla PVE No Upkeep|Monthly|Backpacks|Skins|Shop|Raid 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 57,
"fps_avg": 57,
"entities_count": 113626,
"world_seed": 1911754487,
"world_size": 4500,
"steam_id": "90286914548155411",
"domain": null,
"id": 10534539,
"ip": "66.51.99.28",
"port": 28018,
"query": 28019,
"project_id": null,
"color": 0,
"city": "Dallas",
"description": "\nRangers Vanilla PVE Thank you for joining \r\n Don't forget to join Rangers discord click the visit website button \r\n Monthly map wipes with rust force wipe \r\n Blueprints and Backpacks Wipe \r\n Vanilla Gather and Loot \r\n SimplePVE Protection \r\n *VIP* https://rangers15xserver.tip4serv.com/ \r\n Kits \r\n Shop \r\n Large Backpack \r\n Raidablebases \r\n Jetpack \r\n Skins \r\n SkillTree \r\n Cooking \r\n VirtualQuarries",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780625598,
"last_online": 1781336430,
"icon": null,
"name": "Rangers Vanilla PVE No Upkeep|Monthly|Backpacks|Skins|Shop|Raid",
"connect": "66.51.99.28:28018",
"request": "66.51.99.28:28019",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 1,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1762518696,
"last_update": 1781336430,
"banned": false,
"wipe": 1780596735,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3805,
"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/10534539");
$data = json_decode($json, true);
var_dump($data);