Counter-Strike 2
XPLAY.GG • CS2 DM FFA #26 • [ZA] 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/3506364json
{
"response": {
"steam_id": "85568392924046455",
"domain": null,
"id": 3506364,
"ip": "169.150.246.131",
"port": 26905,
"query": 26905,
"color": 0,
"city": "Johannesburg",
"description": "",
"game": 730,
"owner": null,
"boosts": 1,
"last_offline": 1775890921,
"score": null,
"last_online": 1775929222,
"icon": null,
"name": "XPLAY.GG • CS2 DM FFA #26 • [ZA]",
"connect": "169.150.246.131:26905",
"request": "169.150.246.131:26905",
"map": "de_mirage",
"gamemode": "Counter-Strike 2",
"version": "1.41.4.1",
"numplayers": 3,
"maxplayers": 20,
"bots": 9,
"secured": true,
"private": false,
"country": "ZA",
"status": true,
"votes": 0,
"points": 41,
"add_date": 1710757585,
"last_update": 1775929222,
"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": 1983,
"language": "en",
"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/3506364");
$data = json_decode($json, true);
var_dump($data);