#2 [PT-BR] ZONA MORTA - Wipe 16/02 - PVE - discord.gg/zonamorta 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/11143129
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 11143129,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": "Osasco",
    "description": null,
    "game": 1766060,
    "owner": 168489,
    "boosts": 1,
    "last_offline": 1774331478,
    "score": 0,
    "last_online": 1773458419,
    "icon": null,
    "name": "#2 [PT-BR] ZONA MORTA - Wipe 16/02 - PVE - discord.gg/zonamorta",
    "connect": null,
    "request": null,
    "map": "Main Map",
    "gamemode": null,
    "version": null,
    "numplayers": 0,
    "maxplayers": 16,
    "bots": 0,
    "secured": false,
    "private": null,
    "country": "BR",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1771342217,
    "last_update": 1774331478,
    "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": 335,
    "language": "pt",
    "parked": true,
    "app": {
      "id": 1531516,
      "steam_id": 1766060,
      "name": "HumanitZ",
      "url": "humanitz"
    },
    "server_owner": {
      "username": "zona_morta",
      "avatar": "20253c69-05a7-4726-879c-59830c9ae9f6.png",
      "last_online": 1775944561
    },
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

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