Public Resource Storage 1/3 by GameChiller (30min reset) 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/7412530
json
{
  "response": {
    "steam_id": 90284568976005140,
    "domain": null,
    "id": 7412530,
    "ip": "95.216.23.35",
    "port": 15630,
    "query": 15630,
    "color": 0,
    "city": "Helsinki",
    "description": "[\n    {\n        \"id\": \"AD2eyuRIDT\",\n        \"type\": \"paragraph\",\n        \"data\": {\n            \"text\": \"**Welcome to the Lunituns' public resource storage.**\\n\\nWe have updated this storage to the latest version (update 703471) and will update it regularly. Here you will find everything that can be farmed and manufactured in the game, whether materials, decorations, armor or weapons.\\n\\nYou can find a complete storage list for the basement here: https://shorturl.at/z056Q\"\n        }\n    }\n]",
    "game": 1203620,
    "owner": 91820,
    "boosts": 1,
    "last_offline": 1773784920,
    "score": 0,
    "last_online": 1776441015,
    "icon": null,
    "name": "Public Resource Storage 1/3 by GameChiller (30min reset)",
    "connect": "95.216.23.35:15630",
    "request": "95.216.23.35:15630",
    "map": null,
    "gamemode": "Enshrouded",
    "version": "0.0.15.0",
    "numplayers": 3,
    "maxplayers": 16,
    "bots": 0,
    "secured": false,
    "private": true,
    "country": "FI",
    "status": true,
    "votes": 0,
    "points": 98,
    "add_date": 1739026412,
    "last_update": 1776441015,
    "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": 3,
    "language": "fi",
    "parked": false,
    "app": {
      "id": 1611384,
      "steam_id": 1203620,
      "name": "Enshrouded",
      "url": "enshrouded"
    },
    "server_owner": {
      "username": "AmFearLiath",
      "avatar": "c6c2dae3-31c1-49b8-af35-21f06c256234.jpg",
      "last_online": 1749335300
    },
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

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