Rust
RustResort.com - EU Vanilla | 2X Monday 20.04 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/4811673json
{
"response": {
"fps": 80,
"fps_avg": 79,
"entities_count": 201368,
"world_seed": 943852966,
"world_size": 4000,
"steam_id": "90284724699351042",
"domain": null,
"id": 4811673,
"ip": "62.122.215.98",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Moscow",
"description": "\nWIPE Map - weekly on Mondays 2PM UK | 17:00 MSK ( BPs - twice a month )\r\n\r\nSemi-classical 2X | No limit\r\nResource extraction 2X | Recycle in fishing village and ranch\r\n\r\n STORE - rustresort.com/store\r\n SUPPORT - discord.gg/rustresort\r\n\r\nRules:\r\n - no racism / politics / excessive toxicity\r\n - no hacking / scripting / cheating / macro\r\n - no intentional bug abuse\r\n - no EAC / FP banned alts\r\n - no sell anything for real money, skins and others.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776255119,
"score": 0,
"last_online": 1776805218,
"icon": null,
"name": "RustResort.com - EU Vanilla | 2X Monday 20.04",
"connect": "62.122.215.98:28015",
"request": "62.122.215.98:28016",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 93,
"maxplayers": 225,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 83,
"add_date": 1718907594,
"last_update": 1776805218,
"banned": false,
"wipe": 1776693365,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 426,
"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/4811673");
$data = json_decode($json, true);
var_dump($data);