💚[CS2] GROZNYCS.RU💚 | FPS+ MIRAGE #1 | !KNIFE !SKINS 的 API

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

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/7907581
json
{
  "response": {
    "steam_id": "85568392925968851",
    "domain": null,
    "id": 7907581,
    "ip": "45.95.31.78",
    "port": 27115,
    "query": 27115,
    "color": 0,
    "city": "Moscow",
    "description": "[{\"id\":\"lPD06ufWED\",\"type\":\"paragraph\",\"data\":{\"text\":\"На этом сервере вы можете не только поиграть, но и завести себе друзей с которыми будете играть в другие различные игры)\"}}]",
    "game": 730,
    "owner": 82850,
    "boosts": 1,
    "last_offline": 1774366913,
    "score": 3.6,
    "last_online": 1775730009,
    "icon": null,
    "name": "💚[CS2] GROZNYCS.RU💚 | FPS+ MIRAGE #1 | !KNIFE !SKINS",
    "connect": "45.95.31.78:27115",
    "request": "45.95.31.78:27115",
    "map": "de_mirage_fps",
    "gamemode": "Counter-Strike 2",
    "version": "1.41.4.1",
    "numplayers": 0,
    "maxplayers": 30,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 725,
    "points": 915,
    "add_date": 1740661191,
    "last_update": 1775730009,
    "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": 21,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 2,
      "steam_id": 730,
      "name": "Counter-Strike 2",
      "url": "counter-strike-2",
      "popular_maps_available": true
    },
    "server_owner": {
      "username": "6ker9",
      "avatar": "70835ef7-f476-4d93-a693-df97958fe9aa.jpg",
      "last_online": 1773774822
    },
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

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