[US] DuckHunt's Survivor Haven |PVE|SKILLS|QUESTS|5X| 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/8198299
json
{
  "response": {
    "fps": 190,
    "fps_avg": 181,
    "entities_count": 58536,
    "world_seed": 1088510336,
    "world_size": 3700,
    "steam_id": "90285029189462026",
    "domain": null,
    "id": 8198299,
    "ip": "162.245.189.10",
    "port": 28080,
    "query": 28015,
    "color": 0,
    "city": "Secaucus",
    "description": "![[US] DuckHunt's Survivor Haven |PVE|SKILLS|QUESTS|5X|](https://www.dropbox.com/scl/fi/k92rp7caydu58ahxfay0b/ServerBanner.png?rlkey=l7lwfhqsu8ml7bs87tgup4n8r&st=jhx44mnu&dl=1)\nPVE with PVP ZONES... 5X Gather New and Seasoned player friendly.  We have plugins like Raidable Bases, Boss Monster, Vehicle License, and others... Be chill and most importantly Have Fun!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1777284752,
    "score": 0,
    "last_online": 1777715424,
    "icon": null,
    "name": "[US] DuckHunt's Survivor Haven |PVE|SKILLS|QUESTS|5X|",
    "connect": "162.245.189.10:28080",
    "request": "162.245.189.10:28015",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1742388545,
    "last_update": 1777715424,
    "banned": false,
    "wipe": 1776999609,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3278,
    "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/8198299");
$data = json_decode($json, true);
var_dump($data);