[TFAR] 울산서버 비번공오이 디코:E8evAPQAYd 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/10611024
json
{
  "response": {
    "steam_id": "90284613105301523",
    "domain": null,
    "id": 10611024,
    "ip": "211.220.19.97",
    "port": 2302,
    "query": 2303,
    "color": 0,
    "city": "Ulsan",
    "description": null,
    "game": 107410,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776526356,
    "score": 0,
    "last_online": 1776814279,
    "icon": null,
    "name": "[TFAR] 울산서버 비번공오이 디코:E8evAPQAYd",
    "connect": "211.220.19.97:2302",
    "request": "211.220.19.97:2303",
    "map": "pja310",
    "gamemode": "Ulsan server - Liberation",
    "version": "2.20.152984",
    "numplayers": 0,
    "maxplayers": 48,
    "bots": 0,
    "secured": false,
    "private": true,
    "country": "KR",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1763323448,
    "last_update": 1776814279,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1565,
    "language": "ko",
    "parked": false,
    "app": {
      "id": 61,
      "steam_id": 107410,
      "name": "Arma 3",
      "url": "arma-3"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/10611024");
$data = json_decode($json, true);
var_dump($data);