Rust
#2 Omsk-Rust X10000 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10856294json
{
"response": {
"fps": 30,
"fps_avg": 29,
"entities_count": 91387,
"world_seed": 1161549935,
"world_size": 3500,
"steam_id": "90284580403882010",
"domain": null,
"id": 10856294,
"ip": "94.137.28.90",
"port": 36400,
"query": 36403,
"color": 0,
"city": "Omsk",
"description": "\nСайт - rust-omsk.gamestores.app\r\nVK - vk.com/rust_omsk55\r\nКиты /kit\r\nСкины /skin\r\nТелепорты /tpr\r\nВнутриигровой магазин /shop\r\nМиникоптер /mymini\r\nМеню друзей /fmenu\r\nВайп Блок /block\r\nДля крафта не требуется верстак\r\ngm.link/u95361",
"game": 252490,
"owner": 95361,
"boosts": 1,
"last_offline": 1776423819,
"score": 5,
"last_online": 1776517809,
"icon": null,
"name": "#2 Omsk-Rust X10000",
"connect": "94.137.28.90:36400",
"request": "94.137.28.90:36403",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 23,
"maxplayers": 100,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": true,
"votes": 46,
"points": 146,
"add_date": 1768273693,
"last_update": 1776517809,
"banned": false,
"wipe": 1776423768,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 22,
"language": "ru",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "Hooligan55rus",
"avatar": "dcd4fabb-a7c5-4581-bec6-c1a9511dce51.jpg",
"last_online": 1776184312
},
"mods": [
{
"id": 979,
"name": "Kits"
},
{
"id": 1323,
"name": "Shop"
},
{
"id": 926,
"name": "IQChat"
},
{
"id": 1388,
"name": "Stack Size Controller"
},
{
"id": 1526,
"name": "WelcomeMessage"
},
{
"id": 1431,
"name": "Teleportation"
},
{
"id": 1227,
"name": "RaidBlock"
},
{
"id": 947,
"name": "IQRates"
},
{
"id": 1589,
"name": "No Steam"
},
{
"id": 1552,
"name": "XDStatistics"
},
{
"id": 1528,
"name": "Wipe Block"
},
{
"id": 952,
"name": "IQTeleportation"
},
{
"id": 1576,
"name": "XSkinMenu"
},
{
"id": 935,
"name": "IQGradeRemove"
},
{
"id": 1357,
"name": "Skip Night"
},
{
"id": 1451,
"name": "Trade"
},
{
"id": 1257,
"name": "Report System"
},
{
"id": 900,
"name": "Image Library"
},
{
"id": 924,
"name": "IQBreakingTools"
},
{
"id": 884,
"name": "HitMarker"
}
],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/10856294");
$data = json_decode($json, true);
var_dump($data);