▓▓ ✖ UtopiaFPS.pl ✦ [DUELS #1] 🟠 SKINY|NOZE|REKAWICE 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": "85568392935591285",
"domain": null,
"id": 11023877,
"ip": "51.75.59.212",
"port": 27018,
"query": 27018,
"project_id": null,
"color": 0,
"city": "Wroclaw",
"description": null,
"game": 730,
"owner": null,
"boosts": 1,
"last_offline": 1780794855,
"last_online": 1780935649,
"icon": null,
"name": "▓▓ ✖ UtopiaFPS.pl ✦ [DUELS #1] 🟠 SKINY|NOZE|REKAWICE",
"connect": "51.75.59.212:27018",
"request": "51.75.59.212:27018",
"map": "am_redline_gg",
"gamemode": "Counter-Strike 2",
"version": "1.41.6.5",
"numplayers": 7,
"maxplayers": 23,
"bots": 1,
"secured": true,
"private": false,
"country": "PL",
"status": true,
"votes": 0,
"points": 38,
"add_date": 1769948281,
"last_update": 1780935649,
"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": 1650,
"language": "pl",
"parked": false,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11023877");
$data = json_decode($json, true);
var_dump($data);