Counter-Strike 2
Play CS 1vs1 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/5024790json
{
"response": {
"steam_id": null,
"domain": null,
"id": 5024790,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": null,
"game": 730,
"owner": 74509,
"boosts": 1,
"last_offline": 1760939608,
"score": 5,
"last_online": 1758263057,
"icon": null,
"name": "Play CS 1vs1",
"connect": null,
"request": null,
"map": "aim_map",
"gamemode": "Counter-Strike 2",
"version": null,
"numplayers": 0,
"maxplayers": 11,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1720384996,
"last_update": 1760939608,
"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": 15749,
"language": "ru",
"parked": true,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": {
"username": "sortix100",
"avatar": "a1bb5cab-825f-4bb3-9a46-9fb8a2144b30.jpg",
"last_online": 1775833800
},
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/5024790");
$data = json_decode($json, true);
var_dump($data);