Counter-Strike
#Desq-Hns 10aa | Moscow 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/11127080json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11127080,
"ip": "46.174.52.10",
"port": 27222,
"query": 27222,
"color": 0,
"city": "Moscow",
"description": null,
"game": 10,
"owner": 151212,
"boosts": 1,
"last_offline": 1773937320,
"score": 0,
"last_online": 1775931016,
"icon": null,
"name": "#Desq-Hns 10aa | Moscow",
"connect": "46.174.52.10:27222",
"request": "46.174.52.10:27222",
"map": "hns_centraltown",
"gamemode": "HideNSeek",
"version": "1.1.2.7/Stdio",
"numplayers": 1,
"maxplayers": 21,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 63,
"add_date": 1770268445,
"last_update": 1775931016,
"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": 2696,
"language": "ru",
"parked": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": {
"username": "z_lo",
"avatar": "no.jpg",
"last_online": 1774434271
},
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11127080");
$data = json_decode($json, true);
var_dump($data);