Rust
RustOfWar#2 RandomItems 150 islands Solo/Duo | EU East 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11159189json
{
"response": {
"fps": 215,
"fps_avg": 206,
"entities_count": 61901,
"world_seed": 121315421,
"world_size": 4500,
"steam_id": "90285741439570945",
"domain": null,
"id": 11159189,
"ip": "185.189.255.162",
"port": 35400,
"query": 35410,
"color": 0,
"city": "Moscow",
"description": "\n__________________________Wellcome_to_RustOfWar__________________________ \r\nWipe every day / wipe blueprints once a month \r\nВайп ежедневный/ Вайп чертежей раз в месяц\r\nconnect 185.189.255.19:35300\r\n group in VK: vk.com/rust_of_war Discord: discord.gg/vWGDEtkcRV \r\nRandom Items / x3 / Loot + / InstaCraft / Kits / FastGame \r\n VIP всего 100 руб",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778252586,
"score": 0,
"last_online": 1778790615,
"icon": null,
"name": "RustOfWar#2 RandomItems 150 islands Solo/Duo | EU East",
"connect": "185.189.255.162:35400",
"request": "185.189.255.162:35410",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 54,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 77,
"add_date": 1772228124,
"last_update": 1778790615,
"banned": false,
"wipe": 1778759941,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 594,
"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/11159189");
$data = json_decode($json, true);
var_dump($data);