Adrenaline Gamer
US #2 | Liga Latinoamericana de Half-Life | Hosted by 7mochi 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/6753817json
{
"response": {
"steam_id": "90283771092269076",
"domain": null,
"id": 6753817,
"ip": "78.108.218.131",
"port": 27050,
"query": 27050,
"color": 0,
"city": "Ashburn",
"description": null,
"game": 9000049,
"owner": null,
"boosts": 1,
"last_offline": 1776453805,
"score": 0,
"last_online": 1776446525,
"icon": null,
"name": "US #2 | Liga Latinoamericana de Half-Life | Hosted by 7mochi",
"connect": "78.108.218.131:27050",
"request": "78.108.218.131:27050",
"map": "lost_village2",
"gamemode": "AG Tournament",
"version": "1.1.2.2/Stdio",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1732710826,
"last_update": 1776453805,
"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": 72,
"language": "en",
"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/6753817");
$data = json_decode($json, true);
var_dump($data);