[ES] Division Especial Cerberus 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/9615032
json
{
  "response": {
    "steam_id": "90284754889459719",
    "domain": null,
    "id": 9615032,
    "ip": "54.36.216.200",
    "port": 9046,
    "query": 9047,
    "color": 0,
    "city": "Roubaix",
    "description": null,
    "game": 107410,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776805404,
    "score": 0,
    "last_online": 1776817234,
    "icon": null,
    "name": "[ES] Division Especial Cerberus",
    "connect": "54.36.216.200:9046",
    "request": "54.36.216.200:9047",
    "map": "m_42sxd348097s204",
    "gamemode": "Liberation Jalalabad",
    "version": "2.20.152984",
    "numplayers": 7,
    "maxplayers": 116,
    "bots": 0,
    "secured": false,
    "private": true,
    "country": "FR",
    "status": true,
    "votes": 0,
    "points": 35,
    "add_date": 1750717812,
    "last_update": 1776817234,
    "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": 124,
    "language": "fr",
    "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/9615032");
$data = json_decode($json, true);
var_dump($data);