Counter-Strike: Global Offensive
【Zeus】#158 满十 宁波 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/11121025json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11121025,
"ip": "110.42.9.237",
"port": 30158,
"query": 30158,
"color": 0,
"city": "Ningbo",
"description": null,
"game": 4465480,
"owner": null,
"boosts": 1,
"last_offline": 1775812886,
"score": 0,
"last_online": 1775107289,
"icon": null,
"name": "【Zeus】#158 满十 宁波",
"connect": "110.42.9.237:30158",
"request": "110.42.9.237:30158",
"map": "de_overpass",
"gamemode": "Counter-Strike: Global Offensive",
"version": null,
"numplayers": 0,
"maxplayers": 12,
"bots": 0,
"secured": false,
"private": false,
"country": "CN",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1770114339,
"last_update": 1775812886,
"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": 2268,
"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/11121025");
$data = json_decode($json, true);
var_dump($data);