[RUS] Deep SCP Classic 2 [Vanilla] nonrp | vanilla | classic | russian 的 API

我们提供多种集成方式。 你可以使用其中任意一种,也可以通过 JSON API 自行创建集成。 如果你希望我们新增其他集成方式,请联系我们。 联系我们

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/10523144
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 10523144,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": "Amsterdam",
    "description": "[{\"id\":\"txNkY8U94F\",\"type\":\"paragraph\",\"data\":{\"text\":\"Классический сервер SCP SL с добавлением полезных плагинов для улучшения игрового опыта.\"}}]",
    "game": 700330,
    "owner": 145195,
    "boosts": 1,
    "last_offline": 1765414864,
    "score": 0,
    "last_online": 1764490214,
    "icon": null,
    "name": "[RUS] Deep SCP Classic 2 [Vanilla]\n nonrp | vanilla | classic | russian",
    "connect": null,
    "request": null,
    "map": "Facility",
    "gamemode": "SCP: Secret Laboratory",
    "version": null,
    "numplayers": 0,
    "maxplayers": 25,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "NL",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1762316215,
    "last_update": 1765414864,
    "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": 41,
    "language": "nl",
    "parked": true,
    "app": {
      "id": 18576,
      "steam_id": 700330,
      "name": "SCP: Secret Laboratory",
      "url": "scp-secret-laboratory"
    },
    "server_owner": {
      "username": "Stanleys",
      "avatar": "00a742fc-45b8-464b-8885-fa7e35b0950d.jpg",
      "last_online": 1763149357
    },
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

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