Rust
[EU/FIN] Serene Island 5K 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/8849783json
{
"response": {
"fps": 68,
"fps_avg": 69,
"entities_count": 137822,
"world_seed": 2545,
"world_size": 5000,
"steam_id": "90284793595327513",
"domain": null,
"id": 8849783,
"ip": "89.190.5.80",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Kaustinen",
"description": "![[EU/FIN] Serene Island 5K](https://sereneisland.eu/SereneIsland2026.png)\nLooking for a server to start your journey on RUST? Then Serene Island is for you! ... Or is it? Pain and agony may accompany you here as well. This server is mostly just for chilling, monthly wipes.\r\n\r\nRules?\r\nYes, don't be an ass, or toxic towards other players. Hacking, racism, and such will get you banned forever!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776826995,
"score": 0,
"last_online": 1776853823,
"icon": null,
"name": "[EU/FIN] Serene Island 5K",
"connect": "89.190.5.80:28015",
"request": "89.190.5.80:28017",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2623",
"numplayers": 1,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "FI",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1746266839,
"last_update": 1776853823,
"banned": false,
"wipe": 1775584319,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3353,
"language": "fi",
"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/8849783");
$data = json_decode($json, true);
var_dump($data);