PVE Droni,FPV|Призраки фронта|TG-Front5005 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": "90286723217013762",
"domain": null,
"id": 11756859,
"ip": "45.11.16.75",
"port": 26015,
"query": 26016,
"project_id": null,
"color": 0,
"city": "Frankfurt am Main",
"description": "[{\"id\":\"o3MVajC7PN\",\"type\":\"paragraph\",\"data\":{\"text\":\"Новый сервер Россия это начало развития\"}}]",
"game": 107410,
"owner": 199412,
"boosts": 1,
"last_offline": 1780852242,
"last_online": 1780887019,
"icon": null,
"name": "PVE Droni,FPV|Призраки фронта|TG-Front5005",
"connect": "45.11.16.75:26015",
"request": "45.11.16.75:26016",
"map": null,
"gamemode": "Waiting",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": true,
"votes": 1,
"points": 91,
"add_date": 1780852020,
"last_update": 1780887019,
"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": 5,
"language": "de",
"parked": false,
"app": {
"id": 61,
"steam_id": 107410,
"name": "Arma 3",
"url": "arma-3"
},
"server_owner": {
"username": "upelemoa",
"avatar": "9b2be1ab-4063-401a-acc3-29ff8e0c3548.webp"
},
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11756859");
$data = json_decode($json, true);
var_dump($data);