Counter-Strike
MONTENEGRO [SERVER] Oficial Public Counter Strike 1.6 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/10437274json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10437274,
"ip": "87.121.38.16",
"port": 27378,
"query": 27378,
"color": 0,
"city": "Belgrade",
"description": null,
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1774291916,
"score": 0,
"last_online": 1775810412,
"icon": null,
"name": "MONTENEGRO [SERVER] Oficial Public Counter Strike 1.6",
"connect": "87.121.38.16:27378",
"request": "87.121.38.16:27378",
"map": "de_dust2",
"gamemode": "Counter-Strike",
"version": "1.1.2.7/Stdio",
"numplayers": 31,
"maxplayers": 32,
"bots": 1,
"secured": true,
"private": false,
"country": "RS",
"status": true,
"votes": 0,
"points": 98,
"add_date": 1759910576,
"last_update": 1775810412,
"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": 1396,
"language": "sr",
"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/10437274");
$data = json_decode($json, true);
var_dump($data);