Counter-Strike 2
Counter Strike 2 北京746 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/10609371json
{
"response": {
"steam_id": "85568392935922793",
"domain": null,
"id": 10609371,
"ip": "49.232.79.69",
"port": 27200,
"query": 27200,
"color": 0,
"city": "Beijing",
"description": null,
"game": 730,
"owner": null,
"boosts": 1,
"last_offline": 1775408531,
"score": 0,
"last_online": 1775918468,
"icon": null,
"name": "Counter Strike 2 北京746",
"connect": "49.232.79.69:27200",
"request": "49.232.79.69:27200",
"map": "cs_office",
"gamemode": "Counter-Strike 2",
"version": "1.41.4.1",
"numplayers": 0,
"maxplayers": 12,
"bots": 2,
"secured": false,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1763323109,
"last_update": 1775918468,
"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": 10035,
"language": "zh",
"parked": false,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/10609371");
$data = json_decode($json, true);
var_dump($data);