Counter-Strike 2
[EU]Competitive by HSNGaming.de 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/10922948json
{
"response": {
"steam_id": "85568392935028253",
"domain": null,
"id": 10922948,
"ip": "94.130.132.169",
"port": 27088,
"query": 27088,
"color": 0,
"city": "Falkenstein",
"description": null,
"game": 730,
"owner": null,
"boosts": 1,
"last_offline": 1775257329,
"score": 0,
"last_online": 1775928670,
"icon": null,
"name": "[EU]Competitive by HSNGaming.de",
"connect": "94.130.132.169:27088",
"request": "94.130.132.169:27088",
"map": "de_cbble_csgo",
"gamemode": "Counter-Strike 2",
"version": "1.41.3.6",
"numplayers": 0,
"maxplayers": 32,
"bots": 2,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1768477643,
"last_update": 1775928670,
"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": 10614,
"language": "de",
"parked": false,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/10922948");
$data = json_decode($json, true);
var_dump($data);