Rust
的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11261229json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11261229,
"ip": "103.69.128.189",
"port": 29015,
"query": 29017,
"color": 0,
"city": "Hong Kong",
"description": "Next wipe:2026-04-16_21:00:00(JST)\r\n---\r\nWelcome! nomarust server!\r\n---\r\nMax team size:4\r\nMax players:100\r\nWorld size:2700\r\nWipe schedule:daily\r\nWipe type: FULL\r\nNext restart/stop time:2026-04-16_21:00:00(JST)\r\nLive Streaming:OK",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776877957,
"score": 0,
"last_online": 1776318614,
"icon": null,
"name": null,
"connect": null,
"request": "103.69.128.189:29017",
"map": null,
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": null,
"private": false,
"country": "HK",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1774555228,
"last_update": 1776877957,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 9166,
"language": "zh",
"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/11261229");
$data = json_decode($json, true);
var_dump($data);