【PVE】原倍仿官|突袭据点|NPC|死亡不掉落|萌新 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/9905754
json
{
  "response": {
    "steam_id": "90285634297930771",
    "domain": null,
    "id": 9905754,
    "ip": "103.217.192.121",
    "port": 29018,
    "query": 29029,
    "color": 0,
    "city": "Beijing",
    "description": "![【PVE】原倍仿官|突袭据点|NPC|死亡不掉落|萌新](https://zajx.a4t.cn/djrm1.png)\n本服是纯仿官又能抄家的PVE,专注于休闲又不爱打架的朋友\r\n 半月清,出门记得随手关门,箱子上锁,萌新较多\r\n萌新QQ交流群:1005221297 骂人开挂直接ban \r\n 禁止- -切偷、抢行为噢,禁止外露炮台,武直坦克先打的是谁的",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1778530382,
    "score": 0,
    "last_online": 1778602821,
    "icon": null,
    "name": "【PVE】原倍仿官|突袭据点|NPC|死亡不掉落|萌新",
    "connect": "103.217.192.121:29018",
    "request": "103.217.192.121:29029",
    "map": "Procedural Map",
    "gamemode": "Rust",
    "version": "2625",
    "numplayers": 6,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CN",
    "status": true,
    "votes": 0,
    "points": 62,
    "add_date": 1753909953,
    "last_update": 1778602821,
    "banned": false,
    "wipe": 1778178292,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1834,
    "language": "zh",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

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