Rust
Canadian Ricecakes | 05/07 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11159592json
{
"response": {
"fps": 113,
"fps_avg": 111,
"entities_count": 102664,
"world_seed": 914692808,
"world_size": 4250,
"steam_id": "90285581168834575",
"domain": null,
"id": 11159592,
"ip": "51.161.47.247",
"port": 2270,
"query": 2271,
"color": 0,
"city": "Montreal",
"description": "\n\r\n* Monthly, Low pop, anything goes.\r\n* Wiped 05 / 07\r\n* Last Updated 2026 05 / 10\r\n* Restarted 2026 05 / 10 / 8:43 am EST\r\n* Vanilla\r\n* Size - 4250\r\n* Seed - 914692808\r\n* Hosted by Scalacube Servers",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778194384,
"score": 0,
"last_online": 1778591418,
"icon": null,
"name": "Canadian Ricecakes | 05/07",
"connect": "51.161.47.247:2270",
"request": "51.161.47.247:2271",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 1,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": false,
"country": "CA",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1772228134,
"last_update": 1778591418,
"banned": false,
"wipe": 1778194522,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2285,
"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/11159592");
$data = json_decode($json, true);
var_dump($data);