Rust
⦿【ICEFUSE】10X Omega (Solo/Duo/Trio/Quad|No BPs|Kits|Shop) 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10413332json
{
"response": {
"fps": 30,
"fps_avg": 29,
"entities_count": 74666,
"world_seed": 1337,
"world_size": 3500,
"steam_id": "90284420930619421",
"domain": null,
"id": 10413332,
"ip": "216.39.240.61",
"port": 28010,
"query": 28020,
"color": 0,
"city": "Ashburn",
"description": "\n▼SERVER FEATURES▼\r\n- 10X Gather Rates, 10X Recycle AND 10X Smelting Speeds!\r\n- Advanced Loot With Removed Junk, Enhanced Stack Sizes!\r\n- Free Bgrade, Autodoors, Skinbox, and Remove for everyone!\r\n- Clans, Teams, Kits, Homes, Teleporting\r\n- Vehicles Spawn With Full Health AND Parts!\r\n- Merged Outpost And Bandit With Recyclers At Monuments\r\n \r\n▼SERVER RAIDING RULES▼\r\n ✓ You are allowed 4 members to roam/raid/base with!\r\n \r\n▼SERVER WIPE TIMES▼\r\n ★ Wednesday at 4:00 PM EST\r\n ★ Saturday at 3:00 PM EST",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775194330,
"score": 0,
"last_online": 1776511825,
"icon": null,
"name": "⦿【ICEFUSE】10X Omega (Solo/Duo/Trio/Quad|No BPs|Kits|Shop)",
"connect": "216.39.240.61:28010",
"request": "216.39.240.61:28020",
"map": "Wiped 2 days ago",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1759823834,
"last_update": 1776511825,
"banned": false,
"wipe": 1776286913,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4023,
"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/10413332");
$data = json_decode($json, true);
var_dump($data);