Counter-Strike
Crazy Professionals - [PUB] 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/10415157json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10415157,
"ip": "5.35.103.106",
"port": 27284,
"query": 27284,
"color": 0,
"city": "Bratislava",
"description": null,
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1774298517,
"score": 0,
"last_online": 1775812214,
"icon": null,
"name": "Crazy Professionals - [PUB]",
"connect": "5.35.103.106:27284",
"request": "5.35.103.106:27284",
"map": "cs_deagle",
"gamemode": "Counter-Strike",
"version": "1.1.2.7/Stdio",
"numplayers": 31,
"maxplayers": 32,
"bots": 1,
"secured": true,
"private": false,
"country": "SK",
"status": true,
"votes": 0,
"points": 98,
"add_date": 1759824896,
"last_update": 1775812214,
"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": 1262,
"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/10415157");
$data = json_decode($json, true);
var_dump($data);