=SB=SuperBattle 超级伞兵伺服器 QQgroup:474573980 için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "90286407674228752",
"domain": null,
"id": 6865815,
"ip": "39.108.157.151",
"port": 3000,
"query": 3001,
"project_id": null,
"color": 0,
"city": "Shenzhen",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1780740215,
"last_online": 1780153852,
"icon": null,
"name": "=SB=SuperBattle 超级伞兵伺服器 QQgroup:474573980",
"connect": "39.108.157.151:3000",
"request": "39.108.157.151:3001",
"map": "uzbin",
"gamemode": "帝国坟场打击部队(mf)",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 35,
"bots": 0,
"secured": false,
"private": false,
"country": "CN",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1734007787,
"last_update": 1780740215,
"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": 4035,
"language": "zh",
"parked": false,
"app": {
"id": 61,
"steam_id": 107410,
"name": "Arma 3",
"url": "arma-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/6865815");
$data = json_decode($json, true);
var_dump($data);