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

text
https://api.gamemonitoring.ru/servers/10412450
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 56310,
    "world_seed": 1242439019,
    "world_size": 3000,
    "steam_id": "90286579035132945",
    "domain": null,
    "id": 10412450,
    "ip": "212.232.18.84",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": "![[GER/EN] FlashPvE - Your Favourite PvE Server CustomEvents](https://flashpve.rustflash.de/img/LoadingScreen/loadingbanner.png)\nFlashPvE\r\n\r\n[EN/GER] Server || High-End Performance Server\r\n\r\nI am one of the largest official Rust plugin developers in Europe and have taken Rust to a whole new level.\r\nOn our server, you can expect a truly unique gaming experience!\r\n\r\nAdmins & Mods: Do not play\r\nNo Pay2Win\r\n\r\n🟢 Vanilla Feeling but NoTechTree\r\n🟢 Theft allowed\r\n🟢 Turrets only work to prevent theft\r\n🟢 Free SkinBox\r\n🟢 Monthly Full Wipes (every two weeks)\r\n🟢 Remover Tool: /remove\r\n🟢 Share joy: /joys\r\n🟢 Events: /events\r\n🟢 Raidable content: Bases, Dungeons, Shelters, Sleepers\r\n🟢 Welcome Scrap per wipe (at Outpost)\r\n🟢 Copy pictures to signs via link\r\n🟢 Improved Workbench Range (usable within building privilege)\r\n🟢 Own events- more than the standard events you know\r\n🟢 Own currency - GoldenScrap\r\n🟢 MoneyWash Dealer - Scrap to GoldenScrap\r\n🟢 BlackMarket Dealer - Buy black market items that you can't get anywhere else\r\n\r\n⇨ JOIN DISCORD: discord.rustflash.de\r\nLet's Flash!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780110213,
    "last_online": 1780606836,
    "icon": null,
    "name": "[GER/EN] FlashPvE - Your Favourite PvE Server CustomEvents",
    "connect": "212.232.18.84:28015",
    "request": "212.232.18.84:28016",
    "map": "Lets Flash!",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 69,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1759823728,
    "last_update": 1780606836,
    "banned": false,
    "wipe": 1778255755,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3721,
    "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/10412450");
$data = json_decode($json, true);
var_dump($data);