Counter-Strike 2
[NRW Fun Clan] Community Server 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/3280048json
{
"response": {
"steam_id": "85568392920115218",
"domain": null,
"id": 3280048,
"ip": "93.186.198.14",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Düsseldorf",
"description": "",
"game": 730,
"owner": null,
"boosts": 1,
"last_offline": 1773172330,
"score": null,
"last_online": 1775937647,
"icon": null,
"name": "[NRW Fun Clan] Community Server",
"connect": "93.186.198.14:27015",
"request": "93.186.198.14:27015",
"map": "de_toscan_d_prefab",
"gamemode": "Counter-Strike 2",
"version": "1.41.4.1",
"numplayers": 0,
"maxplayers": 24,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1709830758,
"last_update": 1775937647,
"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": 5662,
"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/3280048");
$data = json_decode($json, true);
var_dump($data);