Counter-Strike: Global Offensive
doFrag.ru #HNS noPRE 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/10799014json
{
"response": {
"steam_id": null,
"domain": "cs.dofrag.ru",
"id": 10799014,
"ip": "213.178.155.157",
"port": 27021,
"query": 27021,
"color": 0,
"city": "Moscow",
"description": "[{\"id\":\"SZMQFB6GdV\",\"type\":\"paragraph\",\"data\":{\"text\":\"Зародившийся мувмент режим HNS, который реализуется во всех версиях контрстрайка.\\nВключает в себя механики BHOP, SURF, KZ. Имеет несколько вариаций.\\nЭто не прятки или PropHunt. HNS - это место для раздачи стиля.\"}}]",
"game": 4465480,
"owner": 158170,
"boosts": 1,
"last_offline": 1775652127,
"score": 0,
"last_online": 1775907612,
"icon": null,
"name": "doFrag.ru #HNS noPRE",
"connect": "cs.dofrag.ru:27021",
"request": "213.178.155.157:27021",
"map": "hns_tyo_docg",
"gamemode": "Counter-Strike: Global Offensive",
"version": "1.38.8.1",
"numplayers": 1,
"maxplayers": 18,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 90,
"add_date": 1766915916,
"last_update": 1775907612,
"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": 109,
"language": "ru",
"parked": false,
"app": {
"id": 1629104,
"steam_id": 4465480,
"name": "Counter-Strike: Global Offensive",
"url": "counter-strike-global-offensive"
},
"server_owner": {
"username": "yrasem",
"avatar": "f3e7ff4b-1ee0-4ef5-b7c1-5a59e9da928e.jpg",
"last_online": 1772894449
},
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/10799014");
$data = json_decode($json, true);
var_dump($data);