|FOR-KAVKAZ| CS2 (forkavkaz.pro) 的 API

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

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/11303025
json
{
  "response": {
    "steam_id": "90284200093058048",
    "domain": null,
    "id": 11303025,
    "ip": "151.244.72.48",
    "port": 27015,
    "query": 27015,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": "[{\"id\":\"8_s5CSdSPE\",\"type\":\"paragraph\",\"data\":{\"text\":\"\\n\\nСАЙТ: https://forkavkaz.pro/\"}},{\"id\":\"vW1dRdP89I\",\"type\":\"image\",\"data\":{\"caption\":\"\",\"withBorder\":false,\"withBackground\":false,\"stretched\":false,\"file\":{\"url\":\"https://cdn.gamemonitoring.net/images/content/1d19fb60-59ab-4dfb-a194-07f46a103ad4.png\"}}}]",
    "game": 730,
    "owner": 186579,
    "boosts": 1,
    "last_offline": 1775771523,
    "score": 0,
    "last_online": 1775899811,
    "icon": null,
    "name": "|FOR-KAVKAZ| CS2 (forkavkaz.pro)",
    "connect": "151.244.72.48:27015",
    "request": "151.244.72.48:27015",
    "map": "de_dust2",
    "gamemode": "Counter-Strike 2",
    "version": "1.41.4.1",
    "numplayers": 0,
    "maxplayers": 24,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 90,
    "add_date": 1774592632,
    "last_update": 1775899811,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": 1,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 179,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 2,
      "steam_id": 730,
      "name": "Counter-Strike 2",
      "url": "counter-strike-2"
    },
    "server_owner": {
      "username": "likeaborz",
      "avatar": "no.jpg",
      "last_online": 1775685761
    },
    "mods": [
      {
        "id": 379,
        "name": "VIP"
      },
      {
        "id": 343,
        "name": "Skins"
      },
      {
        "id": 5,
        "name": "Admin System"
      },
      {
        "id": 435,
        "name": "VIP FREE"
      },
      {
        "id": 436,
        "name": "Weapon Skins"
      },
      {
        "id": 383,
        "name": "VIP Core"
      },
      {
        "id": 14,
        "name": "Advertisement"
      },
      {
        "id": 369,
        "name": "Test"
      },
      {
        "id": 348,
        "name": "Smoke Color"
      },
      {
        "id": 398,
        "name": "Weapon Restrict"
      },
      {
        "id": 255,
        "name": "Levels Ranks Core"
      },
      {
        "id": 9,
        "name": "Admins"
      },
      {
        "id": 1895,
        "name": "rtv"
      },
      {
        "id": 388,
        "name": "VIP Permissions"
      },
      {
        "id": 2280,
        "name": "VIPTEST"
      },
      {
        "id": 2183,
        "name": "skinchanger"
      },
      {
        "id": 190,
        "name": "DiscordLiveChat"
      },
      {
        "id": 191,
        "name": "DiscordServerInfo"
      },
      {
        "id": 206,
        "name": "ExStats GeoIP (LR)"
      },
      {
        "id": 64,
        "name": "Connect/disconnect events announcer"
      }
    ],
    "disabled_modules": [
      "chat",
      "reviews"
    ]
  }
}

代码示例

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