Rust
Rusty Rascals | 2x Solo Only | Monthly | No BP Wipes 04/02 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10488803json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 127858,
"world_seed": 1337,
"world_size": 4000,
"steam_id": "90285254767058974",
"domain": null,
"id": 10488803,
"ip": "89.28.237.36",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Dallas",
"description": "\nServer Offerings:\r\n-BPs never wipe\r\n-Cheats/scripts = perm ban\r\n-Teaming >1 or extreme toxicity = ban\r\n-No VAC/game bans <365d\r\n-No Rust game bans on alts\r\n-VPNs must be whitelisted\r\n-Daily restart 9am EST\r\n-DDoS protected\r\n-Anti-teaming detection\r\n-Recyclers at Fishing Villages & Barns\r\n-Leaderboards\r\n-No monument walling",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775194330,
"score": 0,
"last_online": 1777758019,
"icon": null,
"name": "Rusty Rascals | 2x Solo Only | Monthly | No BP Wipes 04/02",
"connect": "89.28.237.36:28015",
"request": "89.28.237.36:28017",
"map": "discord.rustyrascals.org",
"gamemode": "Survival",
"version": "2623",
"numplayers": 4,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 62,
"add_date": 1761122093,
"last_update": 1777758019,
"banned": false,
"wipe": 1775151410,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1729,
"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/10488803");
$data = json_decode($json, true);
var_dump($data);