scot5's 10 Slot | Ultra Brutal 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/10277019
json
{
  "response": {
    "steam_id": "90284053435687954",
    "domain": null,
    "id": 10277019,
    "ip": "91.98.143.245",
    "port": 27015,
    "query": 27015,
    "color": 0,
    "city": "Nuremberg",
    "description": null,
    "game": 222880,
    "owner": null,
    "boosts": 1,
    "last_offline": 1773849722,
    "score": 0,
    "last_online": 1776369159,
    "icon": null,
    "name": "scot5's 10 Slot | Ultra Brutal",
    "connect": "91.98.143.245:27015",
    "request": "91.98.143.245:27015",
    "map": "verticality",
    "gamemode": "Insurgency",
    "version": "2.4.2.4",
    "numplayers": 0,
    "maxplayers": 10,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1757256066,
    "last_update": 1776369159,
    "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": 88,
    "language": "de",
    "parked": false,
    "app": {
      "id": 13,
      "steam_id": 222880,
      "name": "Insurgency",
      "url": "insurgency"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

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