Rust
⦿【ICEFUSE】Vanilla (Solo/Duo/Trio/Quad) JUST WIPED 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/2705259json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 102032,
"world_seed": 1337,
"world_size": 3750,
"steam_id": "90284517781143562",
"domain": null,
"id": 2705259,
"ip": "205.178.168.144",
"port": 28010,
"query": 28015,
"color": 0,
"city": "Madrid",
"description": "\n▼SERVER FEATURES▼\r\n⦿ Longer Days with Shorter Nights!\r\n⦿ Discord - Steam Linking Systems!\r\n⦿ Merged Outpost And Bandit With Recyclers At Monuments\r\n⦿ Hand Selected Maps: All Major Monuments, Always!\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 TIME▼\r\n ★ Thursday at 3:00 PM GMT",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775778122,
"score": null,
"last_online": 1776853226,
"icon": null,
"name": "⦿【ICEFUSE】Vanilla (Solo/Duo/Trio/Quad) JUST WIPED",
"connect": "205.178.168.144:28010",
"request": "205.178.168.144:28015",
"map": "Wiped 5 days ago",
"gamemode": "Survival",
"version": "2623",
"numplayers": 1,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "ES",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1706196180,
"last_update": 1776853226,
"banned": false,
"wipe": 1776344649,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2688,
"language": "es",
"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/2705259");
$data = json_decode($json, true);
var_dump($data);