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

text
https://api.gamemonitoring.ru/servers/4533564
json
{
  "response": {
    "steam_id": "90286581578557447",
    "domain": null,
    "id": 4533564,
    "ip": "195.60.166.227",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "City of London",
    "description": "![RustGamingNation 1000000x PvE [Events|Purge|Zombies|SkillTree]](https://www.dropbox.com/scl/fi/187avc9uicnm8mghru599/v502SmH.png?rlkey=pdo51grnj7i36st01dmcsfts5&st=xjmmom43&dl=1)\nRustGamingNation 1000000x PvE\r\nEvents | Purge | Zombies | SkillTree\r\nCustom PvE server with raidable bases, zombies, events, progression, and active development.\r\nFriendly community | Regular wipes | Active admins",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780592667,
    "last_online": 1780587631,
    "icon": null,
    "name": "RustGamingNation 1000000x PvE [Events|Purge|Zombies|SkillTree]",
    "connect": "195.60.166.227:28015",
    "request": "195.60.166.227:28016",
    "map": "by klauz24",
    "gamemode": "Rust",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1717058909,
    "last_update": 1780592667,
    "banned": false,
    "wipe": 1779897832,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 10259,
    "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.ru/servers/4533564");
$data = json_decode($json, true);
var_dump($data);