RustyTurtle 5x Weekly / No BP / MyMini / Shop 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 218,
"fps_avg": 216,
"entities_count": 109167,
"world_seed": 1985576359,
"world_size": 4500,
"steam_id": "90286589644812293",
"domain": null,
"id": 9073936,
"ip": "45.88.228.58",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Dallas",
"description": "\nWIPES EVERY THURSDAY \r\n Custom Loot, We threw out the garbage so you don't have to. \r\n Enhanced Electricity, More Power less wiring. \r\n Kits, TP, Auto Sort, Instant craft, No BPs, My Mini and more. \r\n Can not base or roam raid more than 8. \r\n No racism or extreme toxic behavior. \r\n No cheating, scripting or exploiting. \r\n Any VAC or Game bans within 365days are not allowed.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780224845,
"last_online": 1780570831,
"icon": null,
"name": "RustyTurtle 5x Weekly / No BP / MyMini / Shop",
"connect": "45.88.228.58:28015",
"request": "45.88.228.58:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1747046845,
"last_update": 1780570831,
"banned": false,
"wipe": 1779374282,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3167,
"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/9073936");
$data = json_decode($json, true);
var_dump($data);