6th Guards Armoured Brigade | Public server - discord.gg/6thGA 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/1922423
json
{
  "response": {
    "steam_id": "90284527949374491",
    "domain": null,
    "id": 1922423,
    "ip": "136.243.53.173",
    "port": 10028,
    "query": 10038,
    "color": 0,
    "city": "Falkenstein",
    "description": "",
    "game": 736220,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776059470,
    "score": null,
    "last_online": 1776382295,
    "icon": null,
    "name": "6th Guards Armoured Brigade | Public server - discord.gg/6thGA",
    "connect": "136.243.53.173:10028",
    "request": "136.243.53.173:10038",
    "map": "Oosterbeek Offensive 06",
    "gamemode": "Offensive",
    "version": "v2.3.1.459786",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1700738709,
    "last_update": 1776382295,
    "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": 8,
    "language": "de",
    "parked": false,
    "app": {
      "id": 19973,
      "steam_id": 736220,
      "name": "Squad 44",
      "url": "squad-44"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

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