Cam Lao Nam - Liberation | Join Via Launcher 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": 90286540667093000,
"domain": null,
"id": 11659611,
"ip": "217.217.25.5",
"port": 2392,
"query": 2393,
"color": 0,
"city": "Seattle",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1780178416,
"last_online": 1780528252,
"icon": null,
"name": "Cam Lao Nam - Liberation | Join Via Launcher",
"connect": "217.217.25.5:2392",
"request": "217.217.25.5:2393",
"map": "Cam_Lao_Nam",
"gamemode": "CTI 34 KP Liberation Cam Lao Nam v0.96.7a",
"version": "2.20.152984",
"numplayers": 1,
"maxplayers": 37,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 32,
"add_date": 1780178416,
"last_update": 1780528252,
"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": 355,
"language": "en",
"parked": false,
"app": {
"id": 61,
"steam_id": 107410,
"name": "Arma 3",
"url": "arma-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11659611");
$data = json_decode($json, true);
var_dump($data);