Counter-Strike
UGC.LT | Dust2 Only #1 (24/7) 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/10415391json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10415391,
"ip": "5.35.103.106",
"port": 27343,
"query": 27343,
"color": 0,
"city": "Bratislava",
"description": null,
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1774298517,
"score": 0,
"last_online": 1775805013,
"icon": null,
"name": "UGC.LT | Dust2 Only #1 (24/7)",
"connect": "5.35.103.106:27343",
"request": "5.35.103.106:27343",
"map": "awp_india",
"gamemode": "Counter-Strike",
"version": "1.1.2.7/Stdio",
"numplayers": 1,
"maxplayers": 64,
"bots": 1,
"secured": true,
"private": false,
"country": "SK",
"status": true,
"votes": 0,
"points": 32,
"add_date": 1759824917,
"last_update": 1775805013,
"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": 3860,
"language": "sk",
"parked": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/10415391");
$data = json_decode($json, true);
var_dump($data);