RustGaming.net - Solo/Duo/Trio | FULLWIPED 04/18 18.04 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/10978741
json
{
  "response": {
    "fps": 50,
    "fps_avg": 50,
    "entities_count": 75284,
    "world_seed": 1337,
    "world_size": 3380,
    "steam_id": "90284799183415305",
    "domain": null,
    "id": 10978741,
    "ip": "64.40.9.109",
    "port": 28045,
    "query": 28046,
    "color": 0,
    "city": "London",
    "description": "![RustGaming.net - Solo/Duo/Trio | FULLWIPED 04/18 18.04](https://cdn.rustgaming.net/img/server/header_2o.png)\nSERVER RULES @ DISCORD.GG/RUSTGAMING | VIP @ STORE.RUSTGAMING.NET\r\n\r\nWelcome to RustGaming.net - Solo/Duo/Trio Vanilla \r\n \r\n → Group Limit: 3 \r\n → Merged Outpost & Extra recyclers \r\n \r\n Wipe Schedule: \r\n - Full-wipe Saturdays & Wednesdays \r\n 2 PM UTC \r\n \r\n Active non playing admins",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775887918,
    "score": 0,
    "last_online": 1776841824,
    "icon": null,
    "name": "RustGaming.net - Solo/Duo/Trio | FULLWIPED 04/18 18.04",
    "connect": "64.40.9.109:28045",
    "request": "64.40.9.109:28046",
    "map": "Wiped 3 Days ago",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 3,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1769901001,
    "last_update": 1776841824,
    "banned": false,
    "wipe": 1776517070,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4399,
    "language": "en",
    "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/10978741");
$data = json_decode($json, true);
var_dump($data);