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

text
https://api.gamemonitoring.ru/servers/11189146
json
{
  "response": {
    "steam_id": "90284702629315609",
    "domain": null,
    "id": 11189146,
    "ip": "65.108.238.25",
    "port": 60400,
    "query": 60402,
    "color": 0,
    "city": "Helsinki",
    "description": "DEEP SEA RUST | FASTER BOATS | MORE PATROLS | NOOB FRIENDLY. DEEP SEA IS ALWAYS OPEN, REFRESHES EVERY 2 HOURS, BOATS ARE MUCH QUICKER, CUSTOM PLUGINS",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775862725,
    "score": 0,
    "last_online": 1776825621,
    "icon": null,
    "name": "DEEP SEA RUST | FASTER BOATS | MORE PATROLS | NOOB FRIENDLY",
    "connect": "65.108.238.25:60400",
    "request": "65.108.238.25:60402",
    "map": "Custom Map",
    "gamemode": "Rust",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FI",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1772699033,
    "last_update": 1776825621,
    "banned": false,
    "wipe": 1775862443,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4723,
    "language": "fi",
    "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/11189146");
$data = json_decode($json, true);
var_dump($data);