Counter-Strike: Global Offensive
【Palace of the Moon】月の宫殿的娱乐竞技 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/5654510json
{
"response": {
"steam_id": "85568392925260718",
"domain": null,
"id": 5654510,
"ip": "1.15.47.188",
"port": 27018,
"query": 27018,
"color": 0,
"city": "Beijing",
"description": null,
"game": 4465480,
"owner": null,
"boosts": 1,
"last_offline": 1768642955,
"score": 0,
"last_online": 1775821233,
"icon": null,
"name": "【Palace of the Moon】月の宫殿的娱乐竞技",
"connect": "1.15.47.188:27018",
"request": "1.15.47.188:27018",
"map": "de_vertigo",
"gamemode": "Counter-Strike: Global Offensive",
"version": "1.38.8.1",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": false,
"private": true,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1723756995,
"last_update": 1775821233,
"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": 1076,
"language": "zh",
"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/5654510");
$data = json_decode($json, true);
var_dump($data);