Quant Core | PVP Tournament 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/7492413
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 7492413,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": null,
    "description": "pzclassic.ru | Hey! Discord - https://discord.gg/SjJkApyYqP | projectzomboidclassic.com",
    "game": 108600,
    "owner": 131994,
    "boosts": 1,
    "last_offline": 1761976966,
    "score": 5,
    "last_online": 1761052814,
    "icon": null,
    "name": "Quant Core | PVP Tournament",
    "connect": null,
    "request": null,
    "map": "Muldraugh, KY",
    "gamemode": "Project Zomboid",
    "version": null,
    "numplayers": 0,
    "maxplayers": 16,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1739272447,
    "last_update": 1761976966,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": 1,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 6361,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 71,
      "steam_id": 108600,
      "name": "Project Zomboid",
      "url": "project-zomboid"
    },
    "server_owner": {
      "username": "Loner_Wolf_Production",
      "avatar": "f29872b8-965d-4853-82df-ad9b4accbb5c.jpg",
      "last_online": 1765614713
    },
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

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