Rust
[US] RustValley 10X |#2| PVE+|Legendary Weapons|RaidableBase 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11158820json
{
"response": {
"fps": 18,
"fps_avg": 17,
"entities_count": 273399,
"world_seed": 1337,
"world_size": 4500,
"steam_id": "90284733784594458",
"domain": null,
"id": 11158820,
"ip": "151.243.142.154",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Amsterdam",
"description": "![[US] RustValley 10X |#2| PVE+|Legendary Weapons|RaidableBase](https://image.myrustserver.com/logo/tedymt_6813310d976dc.png)\n[US] New RustValley | PVE+ | LEGENDARY WEAPONS | RAIDABLE BASES | SKILLS \r\nWipe: 15 DAYS \r\n\r\nFeatures: \r\n✯ VIRTUAL QUARRIES /vq\r\n✯ LEGENDARY WEAPONS\r\n✯ CASINO /casino\r\n✯ RAIDABLE BASES\r\n✯ STARTER KITS \r\n✯ /SHOP TO BUY ITEMS\r\n✯EPIC LOOT /el",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776596601,
"score": 0,
"last_online": 1776824415,
"icon": null,
"name": "[US] RustValley 10X |#2| PVE+|Legendary Weapons|RaidableBase",
"connect": "151.243.142.154:28015",
"request": "151.243.142.154:28017",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 40,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "NL",
"status": true,
"votes": 0,
"points": 80,
"add_date": 1772228118,
"last_update": 1776824415,
"banned": false,
"wipe": 1776364811,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 378,
"language": "nl",
"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/11158820");
$data = json_decode($json, true);
var_dump($data);