Rust
ProjectNova.gg Mars|3X|Solo/Duo/Trio|X3 JUST WIPED 04/24 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/8066908json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 130822,
"world_seed": 1337,
"world_size": 3000,
"steam_id": "90284914243229703",
"domain": null,
"id": 8066908,
"ip": "194.46.57.83",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Kansas City",
"description": "\nWIPES ARE TUE & FRI @ 3PM EST \r\nBLUEPRINTS WIPE ONLY FRIDAYS @ 3PM EST \r\n-------------------------------------------------------------------------------\r\n•3x Gather + Perfectly Balanced Loot \r\n•SOLO/DUO/TRIO \r\n•Oxygen System \r\n•Custom Items, Custom Anti-Cheats, Boost Jumps, and MUCH more!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776730395,
"score": 0,
"last_online": 1777270212,
"icon": null,
"name": "ProjectNova.gg Mars|3X|Solo/Duo/Trio|X3 JUST WIPED 04/24",
"connect": "194.46.57.83:28015",
"request": "194.46.57.83:28016",
"map": "Mars by Project Nova",
"gamemode": "Survival",
"version": "2623",
"numplayers": 36,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 92,
"add_date": 1741444782,
"last_update": 1777270212,
"banned": false,
"wipe": 1777057208,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 133,
"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/8066908");
$data = json_decode($json, true);
var_dump($data);