Apex Project | MM HvH RPG | No VAC 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/11489363
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 11489363,
    "ip": "46.174.53.235",
    "port": 27015,
    "query": 27015,
    "color": 0,
    "city": "Moscow",
    "description": null,
    "game": 4465480,
    "owner": 188034,
    "boosts": 1,
    "last_offline": 1776365013,
    "score": 0,
    "last_online": 1776432618,
    "icon": null,
    "name": "Apex Project | MM HvH RPG | No VAC",
    "connect": "46.174.53.235:27015",
    "request": "46.174.53.235:27015",
    "map": "de_mirage",
    "gamemode": "Counter-Strike: Global Offensive",
    "version": "1.38.8.1",
    "numplayers": 2,
    "maxplayers": 32,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 66,
    "add_date": 1776365013,
    "last_update": 1776432618,
    "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": 247,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 1629104,
      "steam_id": 4465480,
      "name": "Counter-Strike: Global Offensive",
      "url": "counter-strike-global-offensive"
    },
    "server_owner": {
      "username": "jisa_kovalyova",
      "avatar": "2cd5edb8-fb43-455f-a8a0-3de1da1805b4.jpg",
      "last_online": 1776430438
    },
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

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