GROUND BRANCH
(thetabrigade.org) 89th MRP - Private Server 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10888859json
{
"response": {
"steam_id": "90284568510794758",
"domain": null,
"id": 10888859,
"ip": "178.22.52.244",
"port": 7787,
"query": 27165,
"color": 0,
"city": "Moscow",
"description": null,
"game": 16900,
"owner": null,
"boosts": 1,
"last_offline": 1775872918,
"score": 0,
"last_online": 1776441047,
"icon": null,
"name": "(thetabrigade.org) 89th MRP - Private Server",
"connect": "178.22.52.244:7787",
"request": "178.22.52.244:27165",
"map": "nv103518412",
"gamemode": "Ground Branch",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 14,
"bots": 0,
"secured": false,
"private": true,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1768322423,
"last_update": 1776441047,
"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": 57,
"language": "ru",
"parked": false,
"app": {
"id": 49744,
"steam_id": 16900,
"name": "GROUND BRANCH",
"url": "ground-branch"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/10888859");
$data = json_decode($json, true);
var_dump($data);