Counter-Strike 2
API для [CS2] П0ШJIЫЕ - PUBLIC #1 | !KNIFE !SKINS 14+
Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/7412518json
{
"response": {
"steam_id": "85568392933299105",
"domain": null,
"id": 7412518,
"ip": "77.223.111.56",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Moscow",
"description": null,
"game": 730,
"owner": null,
"boosts": 1,
"last_offline": 1774697545,
"score": 5,
"last_online": 1775757021,
"icon": null,
"name": "[CS2] П0ШJIЫЕ - PUBLIC #1 | !KNIFE !SKINS 14+",
"connect": "77.223.111.56:27015",
"request": "77.223.111.56:27015",
"map": "de_mirage",
"gamemode": "Counter-Strike 2",
"version": "1.41.4.1",
"numplayers": 0,
"maxplayers": 26,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 28,
"points": 58,
"add_date": 1738959513,
"last_update": 1775757021,
"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": 753,
"language": "ru",
"parked": false,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/7412518");
$data = json_decode($json, true);
var_dump($data);