|EU| The Purgue PVE | Active admins | No Raid | No Decay | No R 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/11189070
json
{
  "response": {
    "steam_id": 90285135684640770,
    "domain": null,
    "id": 11189070,
    "ip": "152.228.198.242",
    "port": 28087,
    "query": 28088,
    "color": 0,
    "city": "Roubaix",
    "description": "THE BEST PVE ROLEPLAY COMMUNITY. SECURE YOUR LOCKS WELL. THEFTS WILL NOT BE RETURNED WITHOUT PROOF.. NO GRIFEOS.  No se permiten alianzas masivas que rompan el balance Sobrevive. Construye.  Pero juega limpio. Nos vemos en la isla. Discord:  https://discord.gg/4yjvV7VqFc  DONATE:   https://www.paypal.com/donate/?hosted_button_id=PSL75TKTQFF3C,",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1777489408,
    "score": 0,
    "last_online": 1777524621,
    "icon": null,
    "name": "|EU| The Purgue PVE | Active admins | No Raid | No Decay | No R",
    "connect": "152.228.198.242:28087",
    "request": "152.228.198.242:28088",
    "map": "Procedural Map",
    "gamemode": "Rust",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 40,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FR",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1772699030,
    "last_update": 1777524621,
    "banned": false,
    "wipe": 1775153173,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4531,
    "language": "fr",
    "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/11189070");
$data = json_decode($json, true);
var_dump($data);