面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/5403729
json
{
  "response": {
    "fps": 53,
    "fps_avg": 54,
    "entities_count": 94407,
    "world_seed": 1337,
    "world_size": 3600,
    "steam_id": "90286603969131533",
    "domain": null,
    "id": 5403729,
    "ip": "88.198.131.67",
    "port": 26015,
    "query": 26017,
    "color": 0,
    "city": "Falkenstein",
    "description": "![EU RustChimera 10X|Instant Craft|SHOP|KIT|Trade|Tp|Biweekly](https://dl.scalbox.com/Rust/RustChimera/cover_base_server_1024x512.png)\nWIPE: every 2nd Thursday\r\n\r\n°Clan/Team limits: 10\r\n°BEDS: from 20 to 80 deployable beds\r\n°Turrets Limits: from 40 to 100\r\n°Wipe Raid Protection: 24-hour protection after wipe\r\n\r\n°Vote for the night skip (night duration 10 minutes)\r\n°Instant Craft\r\n°Ability to enable or disable friendly fire between team members\r\n°10x gather rates on everything\r\n°Shop\r\n°RP: Earn RP to spend in the shop\r\n°Building materials have an increased stack\r\n°Increased the stack size\r\n°Increase backpack size - Backpacks\r\n°Improved and more frequent airdrop\r\n°Clan skin and SkinBox\r\n°Kit\r\n\r\n°Pvp\r\n°Locks can be placed on vehicles\r\n°Enable disable the crosshair\r\n°Vehicles spawn around the map\r\n°Quick sorting in containers or for quick loot - Quick Sort\r\n°Improved loot\r\n°Recycler speed 10X\r\n°Faster and better AirDrops\r\n°Reduced the hacking time\r\n°Ability to change skins\r\n°Level up the base with one command\r\n°Repair all base with hammer\r\n°Improved the durability of items, such as weapons, etc...\r\n°Team members will automatically be authorized on their turrets, TC, doors, ecc..\r\n°Splitting the stack in the furnace\r\n°Increased the melting speed of materials\r\n°Game information panel\r\n°Own stash map marker, purple icon\r\n°Wipe scheduler\r\n°Foods doesn't burn\r\n°Active admins\r\n\r\n°Language: English / italiano\r\n--------------------\r\n\r\nRules:\r\n°No cheating/exploiting\r\nNo form of racism\r\n°Don't insult other players\r\n°Don't troll\r\n°No Stream sniping\r\n°Don't write, do, draw, post or talk about offensive things.\r\n\r\n°Type /info for the rest of the in-game rules",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780595664,
    "last_online": 1780605030,
    "icon": null,
    "name": "EU RustChimera 10X|Instant Craft|SHOP|KIT|Trade|Tp|Biweekly",
    "connect": "88.198.131.67:26015",
    "request": "88.198.131.67:26017",
    "map": "Custom Map",
    "gamemode": "Vanilla",
    "version": "2627",
    "numplayers": 1,
    "maxplayers": 40,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1722438373,
    "last_update": 1780605030,
    "banned": false,
    "wipe": 1780596031,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2310,
    "language": "de",
    "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/5403729");
$data = json_decode($json, true);
var_dump($data);