OGHL.NET | #1 CO Bogota Server [1000 FPS/FASTDL] 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": 90286266444226560,
"domain": null,
"id": 11632387,
"ip": "149.104.75.222",
"port": 37727,
"query": 37727,
"project_id": null,
"color": 0,
"city": "Bogotá",
"description": null,
"game": 9000049,
"owner": null,
"boosts": 1,
"last_offline": 1779916788,
"last_online": 1781200932,
"icon": null,
"name": "OGHL.NET | #1 CO Bogota Server [1000 FPS/FASTDL]",
"connect": "149.104.75.222:37727",
"request": "149.104.75.222:37727",
"map": "outcry",
"gamemode": "AG Tournament",
"version": "1.1.2.2/Stdio",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "CO",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779916788,
"last_update": 1781200932,
"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": 77,
"language": "es",
"parked": false,
"app": {
"id": 109,
"steam_id": 9000049,
"name": "Adrenaline Gamer",
"url": "adrenaline-gamer"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11632387");
$data = json_decode($json, true);
var_dump($data);