A Shockbyte Abiotic Factor Server 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/9558399
json
{
  "response": {
    "steam_id": 90284510128824350,
    "domain": null,
    "id": 9558399,
    "ip": "202.36.95.248",
    "port": 23551,
    "query": 28562,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": null,
    "game": 427410,
    "owner": null,
    "boosts": 1,
    "last_offline": 1768642000,
    "score": 0,
    "last_online": 1776795686,
    "icon": null,
    "name": "A Shockbyte Abiotic Factor Server",
    "connect": "202.36.95.248:23551",
    "request": "202.36.95.248:28562",
    "map": null,
    "gamemode": "Abiotic Factor",
    "version": "1.0.0.6",
    "numplayers": 0,
    "maxplayers": 12,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1750585709,
    "last_update": 1776795686,
    "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": 167,
    "language": "de",
    "parked": false,
    "app": {
      "id": 1611062,
      "steam_id": 427410,
      "name": "Abiotic Factor",
      "url": "abiotic-factor"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

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