面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/11103269
json
{
  "response": {
    "fps": 105,
    "fps_avg": 107,
    "entities_count": 104851,
    "world_seed": 1337,
    "world_size": 4800,
    "steam_id": "90286605340904465",
    "domain": null,
    "id": 11103269,
    "ip": "104.192.227.20",
    "port": 28048,
    "query": 28050,
    "color": 0,
    "city": "Chicago",
    "description": "![Wile E. Coyote's Rusty Den | NO KOS | Noob Friendly](https://www.dropbox.com/scl/fi/f87lwtjj1hr4uhoq6joac/wile-e-riding-a-rocket.png?rlkey=je1qjvvm3tbbdstj9x4gnu0yr&st=i5kspzcx&dl=1)\nWELCOME to WILE E. COYOTE'S RUSTY DEN [1.5 X] [NO KOS]\r\n\r\n Monthly server is located in Chicago, Illinois \r\n\r\n NOOBS WELCOME ALONG WITH EXPERIENCED PLAYERS\r\n\r\n Complete information on Discord: Join us here - https://discord.gg/p4zyPyaGnw\r\n\r\n - Map Wipes Monthly\r\n - Force Wipe happens at 12 noon Mountain Time\r\n - Next Map Wipe: April 2\r\n\r\n - Blueprints Wipe Every 2 Months\r\n - Next BP Wipe: April 2\r\n\r\nThis is intended to be a *relaxed place to play*, so please show respect to fellow players.\r\n\r\nServer Features:\r\n - Reduced Decay: 10% of Regular Upkeep\r\n - No Spam, Racism, Hate Speech, Violence, or Bullying\r\n - No Pornography\r\n\r\nAdmins or Mods Have the Right to:\r\n - Ban You\r\n - Moderate Your Actions\r\n\r\n PvP on Oil Rig, Cargo, and during Raiding or Being Raided\r\n\r\n Rules:\r\n - No Countering an Ongoing Raid\r\n - Griefing Someone's Base is Strictly Prohibited\r\n - Players *Must* be able to recover their base after being raided\r\n\r\n Failure to Follow the Server Rules Will Likely Result in a Ban.\r\n Join us and experience a unique Rust adventure at Wile E. Coyote's Rusty Den!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780599868,
    "last_online": 1780608026,
    "icon": null,
    "name": "Wile E. Coyote's Rusty Den | NO KOS | Noob Friendly",
    "connect": "104.192.227.20:28048",
    "request": "104.192.227.20:28050",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 5,
    "maxplayers": 30,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 67,
    "add_date": 1770030029,
    "last_update": 1780608026,
    "banned": false,
    "wipe": 1780596473,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1071,
    "language": "en",
    "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/11103269");
$data = json_decode($json, true);
var_dump($data);