Counter-Strike
API для АРМИЯ ГОРЯЩИХ СЕРДЕЦ ©
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/2952689json
{
"response": {
"steam_id": null,
"domain": null,
"id": 2952689,
"ip": "37.230.137.91",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Moscow",
"description": "[{\"id\":\"vKNFpJGDF7\",\"type\":\"paragraph\",\"data\":{\"text\":\" Сервер: АРМИЯ ГОРЯЩИХ СЕРДЕЦ © ( Russian Federation) ©● 1200 FPS● Наш сайт: AGS-CS.RU● Наш IP: 37.230.137.91:27015● Рабоmа Сервера 24/7● 32 Иrровых Слоmа● Девушkам VIP [Diamond] Бесnлаmно● Преkрасная аmмосфера u Оmлuчная Сmрельба.● С 22:00 gо 09:00 Всем VIP [Diamond]. ЗАХОДИ u ОТОРВИСЬ!) \"}}]",
"game": 10,
"owner": 120240,
"boosts": 1,
"last_offline": 1775634857,
"score": 5,
"last_online": 1776169211,
"icon": null,
"name": "АРМИЯ ГОРЯЩИХ СЕРДЕЦ ©",
"connect": "37.230.137.91:27015",
"request": "37.230.137.91:27015",
"map": "de_dust2_2x2",
"gamemode": "AGS-CS.RU",
"version": "1.1.2.7/Stdio",
"numplayers": 2,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 94,
"add_date": 1707482548,
"last_update": 1776169211,
"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": 1673,
"language": "ru",
"parked": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": {
"username": "vladangelov22",
"avatar": "no.jpg",
"last_online": 1752678588
},
"mods": [],
"disabled_modules": [
"chat"
]
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/2952689");
$data = json_decode($json, true);
var_dump($data);