[EU] Survival Grounds | New Player Friendly | S2 的 API

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

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/8736544
json
{
  "response": {
    "steam_id": "90284030425023506",
    "domain": null,
    "id": 8736544,
    "ip": "144.76.4.207",
    "port": 9880,
    "query": 9881,
    "color": 0,
    "city": "Falkenstein",
    "description": null,
    "game": 1604030,
    "owner": null,
    "boosts": 1,
    "last_offline": 1772053296,
    "score": 0,
    "last_online": 1775767227,
    "icon": null,
    "name": "[EU] Survival Grounds | New Player Friendly | S2",
    "connect": "144.76.4.207:9880",
    "request": "144.76.4.207:9881",
    "map": "VRisingWorld",
    "gamemode": "e436abb5-cc44-498b-800f-a64f5a8f1f0c",
    "version": "0.0.0.1",
    "numplayers": 2,
    "maxplayers": 40,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 34,
    "add_date": 1745874243,
    "last_update": 1775767227,
    "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": 166,
    "language": "de",
    "parked": false,
    "app": {
      "id": 55075,
      "steam_id": 1604030,
      "name": "V Rising",
      "url": "v-rising"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

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