Counter-Strike 2
[CS2]WarCraft|322-cs2 #1 的 API
我们提供多种集成方式。 你可以使用其中任意一种,也可以通过 JSON API 自行创建集成。 如果你希望我们新增其他集成方式,请联系我们。 联系我们
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/8068784json
{
"response": {
"steam_id": null,
"domain": null,
"id": 8068784,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": "[{\"id\":\"OMWN05GB9Y\",\"type\":\"paragraph\",\"data\":{\"text\":\"🔥Открытие нового \\\"Warcraft Сервера!\"}},{\"id\":\"KigLIUC6WE\",\"type\":\"paragraph\",\"data\":{\"text\":\"Данный мод - это рпг мод с имеющими в себе 8 уникальных классов.\"}},{\"id\":\"rHLfb3ReOw\",\"type\":\"paragraph\",\"data\":{\"text\":\"💥Варвар\"}},{\"id\":\"dIeyrmVXbB\",\"type\":\"paragraph\",\"data\":{\"text\":\"💥Маг\"}},{\"id\":\"LYb0eFNH1Z\",\"type\":\"paragraph\",\"data\":{\"text\":\"💥Некромант\"}},{\"id\":\"UEnoqrGkMO\",\"type\":\"paragraph\",\"data\":{\"text\":\"💥Паладин\"}},{\"id\":\"fg0C7deODO\",\"type\":\"paragraph\",\"data\":{\"text\":\"💥Рейнджер\"}},{\"id\":\"9L-5MTjp7L\",\"type\":\"paragraph\",\"data\":{\"text\":\"💥Негодяй\"}},{\"id\":\"MSQV7Gc5Lb\",\"type\":\"paragraph\",\"data\":{\"text\":\"💥Оборотень\"}},{\"id\":\"a6CXJuI-WY\",\"type\":\"paragraph\",\"data\":{\"text\":\"💥Тинкер\"}},{\"id\":\"I9SglIX_5O\",\"type\":\"paragraph\",\"data\":{\"text\":\"🔥У каждого класса есть 3 пассивные способности и одна ультимативная, которая открывается на максимальном 16-м уровне.\"}},{\"id\":\"BIieBB5GFK\",\"type\":\"paragraph\",\"data\":{\"text\":\"🎮 Наш сайт » 322-cs2.ru\"}},{\"id\":\"zflGJ0gjQX\",\"type\":\"paragraph\",\"data\":{\"text\":\"🎮 Наш сервер » connect 77.223.111.52:27415 🎮 \"}},{\"id\":\"ekuVfwHZvU\",\"type\":\"paragraph\",\"data\":{\"text\":\"🎮 Наш магазин » [](https://322-cs2.ru/store/)[https://322-cs2.ru/store/](https://322-cs2.ru/store/) 🎮\"}},{\"id\":\"EgLqUTnE_L\",\"type\":\"paragraph\",\"data\":{\"text\":\"🎮 Наш дискорд » [](https://discord.com/322-cs2 🎮)[https://discord.com/322-cs2 🎮](https://discord.com/322-cs2 🎮)\"}}]",
"game": 730,
"owner": 54962,
"boosts": 1,
"last_offline": 1759763036,
"score": 5,
"last_online": 1756626020,
"icon": null,
"name": "[CS2]WarCraft|322-cs2 #1",
"connect": null,
"request": null,
"map": "de_dust2",
"gamemode": "Counter-Strike 2",
"version": null,
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1741460091,
"last_update": 1759763036,
"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": 15883,
"language": "ru",
"parked": true,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": {
"username": "chushpan",
"avatar": "fa0ea408-53dc-4e10-a351-225ffd3a8735.jpg",
"last_online": 1762639318
},
"mods": [
{
"id": 379,
"name": "VIP"
},
{
"id": 343,
"name": "Skins"
},
{
"id": 437,
"name": "Shop"
},
{
"id": 48,
"name": "Check Cheats"
},
{
"id": 4,
"name": "Admin List"
},
{
"id": 404,
"name": "Welcome"
}
],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/8068784");
$data = json_decode($json, true);
var_dump($data);