Counter-Strike 2
nesko4life için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/2492196json
{
"response": {
"steam_id": null,
"domain": null,
"id": 2492196,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": "[{\"id\":\"VBmpxZGiEm\",\"type\":\"paragraph\",\"data\":{\"text\":\"\\n\\nCRAZYPUB — это качественный игровой проект с высоким онлайном, отзывчивой администрацией и приятной атмосферой.\\n\\nСайт проекта: [https://crazypub.ru/](https://crazypub.ru/)\\nГруппа VK проекта: [https://vk.com/csgocrazypublics](https://vk.com/csgocrazypublics)\\nДискорд проект: dsc.gg/crazypub\\n\\n\"}},{\"id\":\"mfL5GhlC5P\",\"type\":\"paragraph\",\"data\":{\"text\":\"1. PUBLIC | CRAZYPUB.RU | CS2 | !viptest, скины\\nIP - 212.22.85.52:27015\\n2. PUBLIC #2 | CRAZYPUB.RU | CS2 | !viptest, скины\\nIP - 212.22.93.51:27015\\n3. AWP | CRAZYPUB.RU | CS2 | !viptest, скины\\nIP - 212.22.85.52:27016\\n4. MIRAGE | CRAZYPUB.RU | CS2 | !viptest, скины\\nIP - 212.22.93.51:27025\\n5. PUBLIC-FPS | CRAZYPUB.RU | CS2 | !viptest, скины\\nIP - 212.22.93.51:27055\\n6. STANDOFF | CRAZYPUB.RU | CS2 | !viptest, скины\\nIP - 212.22.93.45:27050\\n7. PUBLIC-BHOP | CRAZYPUB.RU | CS2 | !viptest, скины\\nIP - 212.22.85.48:27016\\n8. MiniGame | CRAZYPUB.RU | CS2 | !equip, !models\\nIP - 212.22.85.48:27015\\n9. PUBLIC | CRAZYPUB.RU | CS:GO | !viptest, скины\\nIP - 46.174.52.185:27015\"}}]",
"game": 730,
"owner": 50967,
"boosts": 1,
"last_offline": 1760680413,
"score": null,
"last_online": 1758088225,
"icon": null,
"name": "nesko4life",
"connect": null,
"request": null,
"map": "de_dust2",
"gamemode": "Counter-Strike 2",
"version": null,
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1704971618,
"last_update": 1760680413,
"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": 12692,
"language": "ru",
"parked": true,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": {
"username": "ABKAMM",
"avatar": "e0ff468b-b406-4375-8fcf-bbe9daf37528.jpg",
"last_online": 1723212815
},
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/2492196");
$data = json_decode($json, true);
var_dump($data);