Counter-Strike 2
API для [INUI] - AIM
Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/5939511json
{
"response": {
"steam_id": "85568392932282113",
"domain": null,
"id": 5939511,
"ip": "51.195.61.201",
"port": 27034,
"query": 27034,
"color": 0,
"city": "Limburg an der Lahn",
"description": null,
"game": 730,
"owner": null,
"boosts": 1,
"last_offline": 1773284532,
"score": 0,
"last_online": 1775916649,
"icon": null,
"name": "[INUI] - AIM",
"connect": "51.195.61.201:27034",
"request": "51.195.61.201:27034",
"map": "aim_west",
"gamemode": "Counter-Strike 2",
"version": "1.41.4.1",
"numplayers": 0,
"maxplayers": 2,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1726345884,
"last_update": 1775916649,
"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": 7276,
"language": "de",
"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/5939511");
$data = json_decode($json, true);
var_dump($data);