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

text
https://api.gamemonitoring.ru/servers/6596511
json
{
  "response": {
    "fps": 60,
    "fps_avg": 59,
    "entities_count": 5159,
    "world_seed": 1337,
    "world_size": 1000,
    "steam_id": "90286569005937670",
    "domain": null,
    "id": 6596511,
    "ip": "156.236.84.17",
    "port": 28020,
    "query": 28021,
    "color": 0,
    "city": "Dallas",
    "description": "![Zenith Rust 5x DAILY WIPE One Grid/1 Grid No Blueprints](https://www.dropbox.com/scl/fi/u33euv93w4oru0yidemfu/Zenith-Banner.jpg?rlkey=iczmn2i2xu9ks6knt85dbhwl9&dl=1)\nServer Info: \r\n-Wipes DAILY at 4:00PM ET/20:00 UTC \r\n-1 Grid map\r\n-Custom Features/Events \r\n-5x Gather and Stack sizes,\r\n-Custom Barrels, Custom Map, Custom Monuments\r\nRules:\r\n-No cheating, abusing exploits, or other external assistance that offers a competitive advantage. \r\n- Players must not be associated with any gamebanned accounts\r\n-No Racism, Sexism, Homophobia, or excessive toxicity\r\n-No Advertising or self promotion\r\nTeams are limited to no more than 5 auto turrets placed at any given time.\r\n-No auto turret is to have view of any player spawn locations\r\n-Join our discord via our website ZenithRust.Net to stay up to date with Zenith Rust",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1777913013,
    "last_online": 1780600828,
    "icon": null,
    "name": "Zenith Rust 5x DAILY WIPE One Grid/1 Grid No Blueprints",
    "connect": "156.236.84.17:28020",
    "request": "156.236.84.17:28021",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 1,
    "maxplayers": 10,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 64,
    "add_date": 1731287827,
    "last_update": 1780600828,
    "banned": false,
    "wipe": 1780516921,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1228,
    "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/6596511");
$data = json_decode($json, true);
var_dump($data);