面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/11606537
json
{
  "response": {
    "fps": 105,
    "fps_avg": 108,
    "entities_count": 125959,
    "world_seed": 41724900,
    "world_size": 4300,
    "steam_id": "90286589763399697",
    "domain": null,
    "id": 11606537,
    "ip": "91.134.4.54",
    "port": 28310,
    "query": 28245,
    "color": 0,
    "city": "Wattrelos",
    "description": "![Fox PvE X2|X5|X10+ Raid Bases FR|PT|ES|EU|EVENTS](https://i.imgur.com/NTNipjB.png)\nCHILL PVE SERVER, With Events!\r\n\r\n[KITS][SHOP][SKINBOX][BACKPACKS][TP][LICENSE]\r\n[Epic loot][Convoy][Water Event][Ext Industrial][Armor Slots]\r\n[EVENT SERVER][Operation Fortress]\r\n[ARMORED TRAIN][JUNKYARD][RAID BASES]\r\n[NPC RAIDERS][A LOT EVENTS][SKILL TREE][DTD]\r\n[FOURNACE UPDRADE][FOURNACE INSIDE BASES]\r\nServer optimised for farmers & Chill players\r\nType /info for HELP\r\nNO PVP, NO STEAL, Verry protected no TOXIC chance\r\nVOTE for our server and WIN a Supply all days\r\nDonators & Vip, are Welcome\r\nDiscord: discord.gg/b3DEeaX",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780470420,
    "last_online": 1780574431,
    "icon": null,
    "name": "Fox PvE X2|X5|X10+ Raid Bases FR|PT|ES|EU|EVENTS",
    "connect": "91.134.4.54:28310",
    "request": "91.134.4.54:28245",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 1,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FR",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1779915474,
    "last_update": 1780574431,
    "banned": false,
    "wipe": 1779362095,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1413,
    "language": "fr",
    "parked": false,
    "app": {
      "id": 252490,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

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