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

text
https://api.gamemonitoring.ru/servers/10939494
json
{
  "response": {
    "fps": 180,
    "fps_avg": 188,
    "entities_count": 65099,
    "world_seed": 1934757738,
    "world_size": 3500,
    "steam_id": "90286537188228101",
    "domain": null,
    "id": 10939494,
    "ip": "108.181.102.180",
    "port": 25565,
    "query": 28017,
    "color": 0,
    "city": "Dallas",
    "description": "![Ragewiped](https://www.dropbox.com/scl/fi/fss1huntuu8tg51dz7hb7/RageWipedSmall.jpg?rlkey=hsbi7czpp8v146xwxpn4tspkc&st=3h2q9rim&dl=1)\nWelcome to Ragewiped !! \r\n\r\n A lag-free place to lose your base. \r\n \r\n Dedicated high-end hardware because we know your aim is bad enough. \r\n \r\n THE LAW (Break them and get binned): \r\n \r\n NO CHEATING: If you use scripts, ESP, or any other trash to gain an advantage, don't bother joining. Our admins actually have eyes, and we take out the trash . \r\n\r\n NO RACISM/SLURS: Keep the toxicity to the gameplay. If you can't insult someone's mother without being a bigot, you're too stupid to play here. \r\n\r\n PLAY THE GAME: Griefing, raiding, and being a general menace is encouraged. Crying about it in global chat is also encouraged—it helps the crops grow.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779998624,
    "last_online": 1780591230,
    "icon": null,
    "name": "Ragewiped",
    "connect": "108.181.102.180:25565",
    "request": "108.181.102.180:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1768494597,
    "last_update": 1780591230,
    "banned": false,
    "wipe": 1779998778,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3990,
    "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/10939494");
$data = json_decode($json, true);
var_dump($data);