US FunServer x10000000000|PVP|BATTLEFIELD|SKINS|KITS|TP|MYMINI| 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/5942047
json
{
  "response": {
    "fps": 30,
    "fps_avg": 29,
    "entities_count": 52521,
    "world_seed": 1337,
    "world_size": 2350,
    "steam_id": "90284805992970244",
    "domain": null,
    "id": 5942047,
    "ip": "208.103.169.95",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Dallas",
    "description": "![US FunServer x10000000000|PVP|BATTLEFIELD|SKINS|KITS|TP|MYMINI|](https://cdn.funserver.gg/Ingame.png)\nhttps://funserver.gg\r\n--------------------------\r\ndiscord.gg/funserver\r\n--------------------------\r\nAll of the information (such as rules, wipe schedule, etc) can be found in-game with /info !",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775778122,
    "score": 0,
    "last_online": 1776886821,
    "icon": null,
    "name": "US FunServer x10000000000|PVP|BATTLEFIELD|SKINS|KITS|TP|MYMINI|",
    "connect": "208.103.169.95:28015",
    "request": "208.103.169.95:28016",
    "map": "FunServer.gg",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 3,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 62,
    "add_date": 1726346867,
    "last_update": 1776886821,
    "banned": false,
    "wipe": 1776448367,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1514,
    "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/5942047");
$data = json_decode($json, true);
var_dump($data);