Counter-Strike 2
|FOR-KAVKAZ| CS2 (forkavkaz.pro) için API
Geniş bir entegrasyon yöntemleri yelpazesi sunuyoruz. Bunlardan herhangi birini kullanabilir veya JSON API'sini kullanarak kendinizinkini oluşturabilirsiniz. Yeni bir entegrasyon yöntemi ekleme öneriniz varsa, lütfen bizimle iletişime geçin. Bizimle iletişime geçin
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11303025json
{
"response": {
"steam_id": "90284200093058048",
"domain": null,
"id": 11303025,
"ip": "151.244.72.48",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Frankfurt am Main",
"description": "[{\"id\":\"8_s5CSdSPE\",\"type\":\"paragraph\",\"data\":{\"text\":\"\\n\\nСАЙТ: https://forkavkaz.pro/\"}},{\"id\":\"vW1dRdP89I\",\"type\":\"image\",\"data\":{\"caption\":\"\",\"withBorder\":false,\"withBackground\":false,\"stretched\":false,\"file\":{\"url\":\"https://cdn.gamemonitoring.net/images/content/1d19fb60-59ab-4dfb-a194-07f46a103ad4.png\"}}}]",
"game": 730,
"owner": 186579,
"boosts": 1,
"last_offline": 1775771523,
"score": 0,
"last_online": 1775899212,
"icon": null,
"name": "|FOR-KAVKAZ| CS2 (forkavkaz.pro)",
"connect": "151.244.72.48:27015",
"request": "151.244.72.48:27015",
"map": "de_dust2",
"gamemode": "Counter-Strike 2",
"version": "1.41.4.1",
"numplayers": 0,
"maxplayers": 24,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 90,
"add_date": 1774592632,
"last_update": 1775899212,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": 1,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 183,
"language": "ru",
"parked": false,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": {
"username": "likeaborz",
"avatar": "no.jpg",
"last_online": 1775685761
},
"mods": [
{
"id": 379,
"name": "VIP"
},
{
"id": 343,
"name": "Skins"
},
{
"id": 5,
"name": "Admin System"
},
{
"id": 435,
"name": "VIP FREE"
},
{
"id": 436,
"name": "Weapon Skins"
},
{
"id": 383,
"name": "VIP Core"
},
{
"id": 14,
"name": "Advertisement"
},
{
"id": 369,
"name": "Test"
},
{
"id": 348,
"name": "Smoke Color"
},
{
"id": 398,
"name": "Weapon Restrict"
},
{
"id": 255,
"name": "Levels Ranks Core"
},
{
"id": 9,
"name": "Admins"
},
{
"id": 1895,
"name": "rtv"
},
{
"id": 388,
"name": "VIP Permissions"
},
{
"id": 2280,
"name": "VIPTEST"
},
{
"id": 2183,
"name": "skinchanger"
},
{
"id": 190,
"name": "DiscordLiveChat"
},
{
"id": 191,
"name": "DiscordServerInfo"
},
{
"id": 206,
"name": "ExStats GeoIP (LR)"
},
{
"id": 64,
"name": "Connect/disconnect events announcer"
}
],
"disabled_modules": [
"chat",
"reviews"
]
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11303025");
$data = json_decode($json, true);
var_dump($data);