[US] The Whore House 10x | Kits | PVP+ | Small | 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/10979358
json
{
  "response": {
    "fps": 195,
    "fps_avg": 194,
    "entities_count": 17261,
    "world_seed": 1337,
    "world_size": 2000,
    "steam_id": "90284711180389377",
    "domain": null,
    "id": 10979358,
    "ip": "174.16.41.131",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Denver",
    "description": "![[US] The Whore House 10x | Kits | PVP+ | Small |](https://i.imgur.com/oOpiMvX.png)\nWelcome to the official Rust server of The Whore House Discord server.\r\n\r\nBuilt and designed primarily for the users of our discord server, but open to all. Load in and enjoy!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775091730,
    "score": 0,
    "last_online": 1776840622,
    "icon": null,
    "name": "[US] The Whore House 10x | Kits | PVP+ | Small |",
    "connect": "174.16.41.131:28015",
    "request": "174.16.41.131:28017",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2622",
    "numplayers": 0,
    "maxplayers": 125,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1769901101,
    "last_update": 1776840622,
    "banned": false,
    "wipe": 1772987182,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4441,
    "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/10979358");
$data = json_decode($json, true);
var_dump($data);