Counter-Strike: Global Offensive
E2 CSGO 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/11250743json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11250743,
"ip": "62.84.188.238",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Lauterbourg",
"description": null,
"game": 4465480,
"owner": null,
"boosts": 1,
"last_offline": 1773366731,
"score": 0,
"last_online": 1775805648,
"icon": null,
"name": "E2 CSGO Server",
"connect": "62.84.188.238:27015",
"request": "62.84.188.238:27015",
"map": "cs_office",
"gamemode": "Counter-Strike: Global Offensive",
"version": "1.38.8.1",
"numplayers": 0,
"maxplayers": 10,
"bots": 2,
"secured": true,
"private": true,
"country": "FR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1773244936,
"last_update": 1775805648,
"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": 1872,
"language": "fr",
"parked": false,
"app": {
"id": 1629104,
"steam_id": 4465480,
"name": "Counter-Strike: Global Offensive",
"url": "counter-strike-global-offensive"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11250743");
$data = json_decode($json, true);
var_dump($data);