Rust
Rustoria.co - EU East Long 的 API
我们提供多种集成方式。 你可以使用其中任意一种,也可以通过 JSON API 自行创建集成。 如果你希望我们新增其他集成方式,请联系我们。 联系我们
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/9527562json
{
"response": {
"fps": 14,
"fps_avg": 12,
"entities_count": 666914,
"world_seed": 49526,
"world_size": 4750,
"steam_id": "90284165340649499",
"domain": null,
"id": 9527562,
"ip": "80.242.59.93",
"port": 28010,
"query": 28015,
"color": 0,
"city": "Veliky Novgorod",
"description": "\nWipe Schedule:\r\n\\tMap - Monthly @ Force\r\n\\tBPs - Monthly @ Force\r\n\r\nVIP: donate.rustoria.co\r\n\r\nRules:\r\n\\t- No hacking / scripting\r\n\\t- No intentional bug abuse\r\n\\t- No EAC / FP banned alts\r\n\\t- No ban evading\r\n\\t- No racism\r\n\r\nGood performance\r\nActive non playing admins\r\nSeeds are carefully picked\r\n\r\nDiscord: rustoria.co/discord\r\nFull rules: rustoria.co/vanilla/rules",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775759523,
"score": 0,
"last_online": 1775862010,
"icon": null,
"name": "Rustoria.co - EU East Long",
"connect": "80.242.59.93:28010",
"request": "80.242.59.93:28015",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 328,
"maxplayers": 350,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 122,
"add_date": 1750537934,
"last_update": 1775862010,
"banned": false,
"wipe": 1775152648,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 73,
"language": "ru",
"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/9527562");
$data = json_decode($json, true);
var_dump($data);