█ AMXPLAY | Public Classic█ 的 API

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

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/4809988
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 4809988,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": null,
    "description": "[{\"id\":\"YQzLVVpTLu\",\"type\":\"image\",\"data\":{\"caption\":\"\",\"withBorder\":false,\"withBackground\":false,\"stretched\":false,\"file\":{\"url\":\"https://cdn.gamemonitoring.net/images/content/e7c644f5-d338-4b02-bc63-687891b23da0.jpg\"}}},{\"id\":\"WuSY8pWSgx\",\"type\":\"paragraph\",\"data\":{\"text\":\"🔥Добро пожаловать на наш проект. Приятной игры на сервере🔥\\n🔥Добро пожаловать на игровой проект 322-cs2🔥\\n🎮 [[CS2]ZOMBIE ESCAPE|322-cs2 #2 🎮](https://322-cs2.ru/)\"}},{\"id\":\"wHrWydQt7S\",\"type\":\"paragraph\",\"data\":{\"text\":\"[🎮 Наш сайт » ](https://322-cs2.ru/) [https://322-cs2.ru/ ](https://322-cs2.ru/ ) 🎮\"}},{\"id\":\"-heqTLVDgJ\",\"type\":\"paragraph\",\"data\":{\"text\":\"🎮 Наш сервер » connect 37.230.210.241:27015 🎮 \"}},{\"id\":\"G1eBgTlzRq\",\"type\":\"paragraph\",\"data\":{\"text\":\"🎮 Наш магазин » https://322-cs2.ru/store/ [🎮](https://322-cs2.ru/shop/) 🎮)\"}},{\"id\":\"gqmZuSOHtF\",\"type\":\"paragraph\",\"data\":{\"text\":\"🎮 Наш дискорд » [https://discord.gg/322-cs2) 🎮  ](https://discord.gg/322-cs2) 🎮  )\"}}]",
    "game": 10,
    "owner": 54962,
    "boosts": 1,
    "last_offline": 1751026513,
    "score": 5,
    "last_online": 1748279424,
    "icon": null,
    "name": "█   AMXPLAY | Public Classic█",
    "connect": null,
    "request": null,
    "map": "de_dust2",
    "gamemode": "Counter-Strike",
    "version": null,
    "numplayers": 0,
    "maxplayers": 32,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1718906814,
    "last_update": 1751026513,
    "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": 7270,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 3,
      "steam_id": 10,
      "name": "Counter-Strike",
      "url": "counter-strike"
    },
    "server_owner": {
      "username": "chushpan",
      "avatar": "fa0ea408-53dc-4e10-a351-225ffd3a8735.jpg",
      "last_online": 1762639318
    },
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

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