Counter-Strike
CS-GO mod 21+ 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/6369json
{
"response": {
"steam_id": null,
"domain": null,
"id": 6369,
"ip": "91.211.247.8",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Vilnius",
"description": "",
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1775493729,
"score": 5,
"last_online": 1775715022,
"icon": null,
"name": "CS-GO mod 21+",
"connect": "91.211.247.8:27015",
"request": "91.211.247.8:27015",
"map": "de_dust2x2",
"gamemode": "Counter-Strike",
"version": "1.1.2.7/Stdio",
"numplayers": 4,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "LT",
"status": true,
"votes": 0,
"points": 32,
"add_date": 1501541233,
"last_update": 1775715022,
"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": 4202,
"language": "lt",
"parked": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike",
"popular_maps_available": true
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/6369");
$data = json_decode($json, true);
var_dump($data);