Counter-Strike
[CS1.6] Сервер _sp1le_ 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/4255859json
{
"response": {
"steam_id": null,
"domain": null,
"id": 4255859,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": "",
"game": 10,
"owner": 69196,
"boosts": 1,
"last_offline": 1750457066,
"score": 0,
"last_online": 1740691231,
"icon": null,
"name": "[CS1.6] Сервер _sp1le_",
"connect": null,
"request": null,
"map": "de_mirage",
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": true,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1715807229,
"last_update": 1750457066,
"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": 7398,
"language": "ru",
"parked": true,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": {
"username": "sp1le",
"avatar": "87f62262-7f65-4733-858a-a552a87867d0.jpg",
"last_online": 1760649718
},
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/4255859");
$data = json_decode($json, true);
var_dump($data);