Falkors Retreat |PVE|Raidable Bases|Skill Tree| 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 144,
"fps_avg": 153,
"entities_count": 137511,
"world_seed": 473000581,
"world_size": 4500,
"steam_id": "90286553522251805",
"domain": null,
"id": 8743674,
"ip": "135.148.151.135",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Warrenton",
"description": "Welcome To Falkors Retreat 3x PVE \r\nIncreased Gather Rates \r\n3x components and Scrap \r\nLong days and short nights \r\nSkip Nights \r\nEasy, Medium, Hard, Expert, and Nightmare raids \r\nSkill Tree \r\nLeaderboard \r\nWhole Base Workbench \r\nSo much more!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780484644,
"last_online": 1780552836,
"icon": null,
"name": "Falkors Retreat |PVE|Raidable Bases|Skill Tree|",
"connect": "135.148.151.135:28015",
"request": "135.148.151.135:28016",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1745916337,
"last_update": 1780552836,
"banned": false,
"wipe": 1779385420,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2971,
"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/8743674");
$data = json_decode($json, true);
var_dump($data);