我们提供多种集成方式。 你可以使用其中任意一种,也可以通过 JSON API 自行创建集成。 如果你希望我们新增其他集成方式,请联系我们。 联系我们

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/5606069
json
{
  "response": {
    "steam_id": "85568392934507775",
    "domain": null,
    "id": 5606069,
    "ip": "194.147.90.90",
    "port": 24218,
    "query": 24218,
    "color": 0,
    "city": "Moscow",
    "description": "[{\"id\":\"16Gh_PCWmW\",\"type\":\"paragraph\",\"data\":{\"text\":\"Наш сайт: https://homigrad.com\"}},{\"id\":\"VRN4qLcTwo\",\"type\":\"paragraph\",\"data\":{\"text\":\"HOMIGRADCOM HOMIGRAD homigrad homigradcom garrysmod gmod garrys mod\"}}]",
    "game": 4000,
    "owner": 147451,
    "boosts": 1,
    "last_offline": 1775553730,
    "score": 0,
    "last_online": 1775829009,
    "icon": null,
    "name": "RUSSIAN 4 Homicide",
    "connect": "194.147.90.90:24218",
    "request": "194.147.90.90:24218",
    "map": "cs_office_night",
    "gamemode": "HOMIGRADCOM",
    "version": "2025.03.26",
    "numplayers": 27,
    "maxplayers": 30,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 133,
    "add_date": 1723662926,
    "last_update": 1775829009,
    "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": 2,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 30,
      "steam_id": 4000,
      "name": "Garry's Mod",
      "url": "garrys-mod"
    },
    "server_owner": {
      "username": "HOMIGRAD",
      "avatar": "b9b5c040-4dd0-4725-8fd1-979b79174796.jpg",
      "last_online": 1763733214
    },
    "mods": [],
    "disabled_modules": [
      "chat"
    ]
  }
}

代码示例

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