面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/11677250
json
{
  "response": {
    "fps": 89,
    "fps_avg": 91,
    "entities_count": 179226,
    "world_seed": 1337,
    "world_size": 4500,
    "steam_id": "90286583301987335",
    "domain": null,
    "id": 11677250,
    "ip": "45.8.187.19",
    "port": 28015,
    "query": 27017,
    "color": 0,
    "city": "Amsterdam",
    "description": "![[EU]Braz20x PvE |LEGENDARY GUNS|LEGENDARY ARMOR|](https://i.ibb.co/PZpjTWvG/braz-logo-cabe-alho.png)\n★ CREATED BY THE ORIGINAL DEVELOPER OF 'NECROMANCER WEAPONS' ★\r\n★ VETERAN ADMINISTRATION: OVER 20,000 HOURS IN RUST ★\r\n\r\nExperience a true PVE forged by those who understand the game.\r\n\r\n★ [+] RPG, COMBAT & EXCLUSIVITY\r\n• WORLD'S HIGHEST Legendary Weapon drop rate!\r\n• Complete Skill Tree & Custom Crafting System\r\n• Legendary Armor with insane bonuses\r\n• Raidable Bases & Unique Custom Events\r\n\r\n★ [+] SMART RATES (20x)\r\n• Loot: 20x (Explosive!)\r\n• Gather: Balanced & Custom (Healthy Economy)\r\n• Wipe: Biweekly\r\n\r\n★ Join a community that values quality, stability, and innovation.\r\n• Discord: discord.gg/BrazServer",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780216198,
    "last_online": 1780587627,
    "icon": null,
    "name": "[EU]Braz20x PvE |LEGENDARY GUNS|LEGENDARY ARMOR|",
    "connect": "45.8.187.19:28015",
    "request": "45.8.187.19:27017",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 19,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "NL",
    "status": true,
    "votes": 0,
    "points": 67,
    "add_date": 1780216198,
    "last_update": 1780587627,
    "banned": false,
    "wipe": 1779377696,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 638,
    "language": "nl",
    "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/11677250");
$data = json_decode($json, true);
var_dump($data);