Redland Collective - CHAPTER RED: BAGRATION QA PLAYTEST 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/10567385
json
{
  "response": {
    "steam_id": "90284367437435929",
    "domain": null,
    "id": 10567385,
    "ip": "46.4.115.15",
    "port": 10027,
    "query": 10037,
    "color": 0,
    "city": "Falkenstein",
    "description": null,
    "game": 736220,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776189719,
    "score": 0,
    "last_online": 1776435064,
    "icon": null,
    "name": "Redland Collective - CHAPTER RED: BAGRATION QA PLAYTEST",
    "connect": "46.4.115.15:10027",
    "request": "46.4.115.15:10037",
    "map": "Berezina_Offensive_Random_01_Ne",
    "gamemode": "Offensive",
    "version": "v2.6.1.566911",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1762537313,
    "last_update": 1776435064,
    "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": 26,
    "language": "de",
    "parked": false,
    "app": {
      "id": 19973,
      "steam_id": 736220,
      "name": "Squad 44",
      "url": "squad-44"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/10567385");
$data = json_decode($json, true);
var_dump($data);