Counter-Strike: Global Offensive
nativecsgo.com #2 | [128] Ranked PUG 5v5 | !rank-!ws-!knife 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/11222455json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11222455,
"ip": "104.238.220.34",
"port": 4544,
"query": 4544,
"color": 0,
"city": "Los Angeles",
"description": null,
"game": 4465480,
"owner": null,
"boosts": 1,
"last_offline": 1773832321,
"score": 0,
"last_online": 1775801449,
"icon": null,
"name": "nativecsgo.com #2 | [128] Ranked PUG 5v5 | !rank-!ws-!knife",
"connect": "104.238.220.34:4544",
"request": "104.238.220.34:4544",
"map": "de_ancient",
"gamemode": "Counter-Strike: Global Offensive",
"version": "1.38.8.1",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1772870675,
"last_update": 1775801449,
"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": 1698,
"language": "en",
"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/11222455");
$data = json_decode($json, true);
var_dump($data);