Rust
[AU] Skitzy 3x • Solo Only • Weekly 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/1916067json
{
"response": {
"fps": 59,
"fps_avg": 58,
"entities_count": 103542,
"world_seed": 550496754,
"world_size": 3500,
"steam_id": "90285604821319683",
"domain": null,
"id": 1916067,
"ip": "51.161.199.41",
"port": 28015,
"query": 28017,
"color": 0,
"city": "North Sydney",
"description": "![[AU] Skitzy 3x • Solo Only • Weekly](https://i.imgur.com/tzsuQXT.png)\n【 Vanilla Status 】 【 Modded Status 】\r\n★ 3x Gathers ★ No Radiation ★ Free Skinbox ★ Anti-Offline \r\n★ 3x Smelt ★ No Cold ★ Free BGrade ★ Craft Vehicles \r\n★ 3x Loot ★ No Decays ★ Free Kits ★ Teleportation \r\n★ Blueprint+ ★ FastNights ★ Leaderboards ★ Auto Upgrade \r\n\r\n★ Join our Discord for more information\r\n • Discord: reduxrust.net/discord",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778181185,
"score": null,
"last_online": 1778560214,
"icon": null,
"name": "[AU] Skitzy 3x • Solo Only • Weekly",
"connect": "51.161.199.41:28015",
"request": "51.161.199.41:28017",
"map": "「 Wipes Mondays @ 12PM 」",
"gamemode": "Survival",
"version": "2625",
"numplayers": 19,
"maxplayers": 80,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 71,
"add_date": 1700734392,
"last_update": 1778560214,
"banned": false,
"wipe": 1778464566,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 525,
"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/1916067");
$data = json_decode($json, true);
var_dump($data);