Hired Ops
HGKG3-9B6NU6 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/5206055json
{
"response": {
"steam_id": "90284646720323614",
"domain": null,
"id": 5206055,
"ip": "209.58.191.56",
"port": 28985,
"query": 27985,
"color": 0,
"city": "Wan Chai",
"description": null,
"game": 374280,
"owner": null,
"boosts": 1,
"last_offline": 1776795635,
"score": 0,
"last_online": 1776589950,
"icon": null,
"name": "HGKG3-9B6NU6",
"connect": "209.58.191.56:28985",
"request": "209.58.191.56:27985",
"map": "12",
"gamemode": "Contract Wars 2.0 Standalone",
"version": "1.0.0.0",
"numplayers": 5,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": false,
"country": "HK",
"status": false,
"votes": 0,
"points": 47,
"add_date": 1721083857,
"last_update": 1776795635,
"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": 129,
"language": "zh",
"parked": false,
"app": {
"id": 6495,
"steam_id": 374280,
"name": "Hired Ops",
"url": "hired-ops"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/5206055");
$data = json_decode($json, true);
var_dump($data);