RustGaming.net - Solo/Duo | FULLWIPED 04/19 19.04 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/10978721
json
{
  "response": {
    "fps": 50,
    "fps_avg": 50,
    "entities_count": 90929,
    "world_seed": 1337,
    "world_size": 3380,
    "steam_id": "90284725887459337",
    "domain": null,
    "id": 10978721,
    "ip": "64.40.9.109",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "London",
    "description": "![RustGaming.net - Solo/Duo | FULLWIPED 04/19 19.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 Vanilla \r\n \r\n → Group Limit: 2 \r\n → Minicopters spawn on roads \r\n → Merged Outpost & Extra recyclers \r\n \r\n Wipe Schedule: \r\n - Full every Sunday \r\n - Map every Thursday \r\n 1 PM UTC \r\n \r\n Active non playing admins",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775690523,
    "score": 0,
    "last_online": 1776814818,
    "icon": null,
    "name": "RustGaming.net - Solo/Duo | FULLWIPED 04/19 19.04",
    "connect": "64.40.9.109:28015",
    "request": "64.40.9.109:28016",
    "map": "Wiped 2 Days ago",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 15,
    "maxplayers": 125,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 66,
    "add_date": 1769900998,
    "last_update": 1776814818,
    "banned": false,
    "wipe": 1776599852,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 826,
    "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/10978721");
$data = json_decode($json, true);
var_dump($data);