JSON для программ, сайтов и прочего

text
https://api.gamemonitoring.ru/servers/4261547
json
{
  "response": {
    "fps": 99,
    "fps_avg": 98,
    "entities_count": 121932,
    "world_seed": 224117132,
    "world_size": 4500,
    "steam_id": "90286603727099925",
    "domain": null,
    "id": 4261547,
    "ip": "5.9.116.8",
    "port": 28035,
    "query": 28037,
    "color": 0,
    "city": "Falkenstein",
    "description": "Welcome to ausRUSTen #1\r\n\r\nSettings:\r\n- Mode: PvE\r\n- Mapsize: 4500\r\n- Map: Procedural\r\n- Wipe: Monthly\r\n- Upkeep: 1/2\r\n- Gather Rate: x2\r\n- Monuments: Vanilla\r\n- Stack Sizes: Custom\r\n- Raidprotection\r\n- Longer Days & Shorter Nights\r\n- Active Admins\r\n\r\nEvents:\r\n- Raidable Bases\r\n- Defendable Homes\r\n- Defendable Bases\r\n- Convoy\r\n- Armored Train\r\n- Sputnik\r\n- Boss Monster\r\n- Heli Signals\r\n- Jet Event\r\n- SatDishEvent\r\n- Dangerous Treasures\r\n- Treasure Maps\r\n- Custom BradleyAI\r\n- Water Patrol\r\n- Shipwreck\r\n- GasStationEvent\r\n- Tugboat Pirates\r\n- Triangulation Event\r\n- Supermarket Event\r\n- Cargoplane crash\r\n- Ferry Terminal Event\r\n- Vanilla Events\r\n\r\nQoL Plugins:\r\n- Backpacks\r\n- Clans\r\n- Clear Night\r\n- Personal Recycler\r\n- Remover Tool\r\n- SkinBox\r\n- Code Locks deployable onto vehicles, furnaces etc\r\n- TimeOfDay\r\n- Automatically base upgrade\r\n- BlueprintShare\r\n- Sort Button\r\n\r\nExtras:\r\n- BiPlanes\r\n- CarVendor\r\n- JetPacks\r\n- NPC Taxi\r\n- PogoSticks\r\n- Economics with Server Rewards\r\n- Custom Car Modules\r\n- Statistics\r\n- XPerience\r\n- Paraplanes\r\n- NatureMarket\r\n- Extended Industrial\r\n- Pocket Ziplines\r\n- Train Homes\r\n- Barges\r\n\r\n\r\nFor news, information and updates join our Discord:\r\ndiscord.gg/CnSvq2XqYf or click view webpage below.\r\n\r\nFeel free to visit also our ausRUSTen #2 Server:\r\nausRUSTen #2 |PvE|Raidable Bases|Defendable Bases|Defendable Homes|Convoy|Armored Train|Sputnik|Boss Monster|Water Patrol|Backpack|SkinBox|\r\nIP: 85.14.245.148:28025\r\nwith custom map, custom monuments and custom NPCs.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780595060,
    "last_online": 1780604430,
    "icon": null,
    "name": "ausRUSTen #1 |PvE|Raidable Bases|Defendable Bases|Defendable Ho",
    "connect": "5.9.116.8:28035",
    "request": "5.9.116.8:28037",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2627",
    "numplayers": 3,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1715848972,
    "last_update": 1780604430,
    "banned": false,
    "wipe": 1780595266,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2161,
    "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.ru/servers/4261547");
$data = json_decode($json, true);
var_dump($data);