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

text
https://api.gamemonitoring.ru/servers/9374462
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 9374462,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": null,
    "description": null,
    "game": 9000035,
    "owner": 120329,
    "boosts": 1,
    "last_offline": 1763099468,
    "last_online": 1762186227,
    "icon": null,
    "name": "AltherPride | Halloween Event is Live!",
    "connect": null,
    "request": null,
    "map": "San Andreas",
    "gamemode": "ATR Framework v1.2.1-h3",
    "version": null,
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "SG",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1747843279,
    "last_update": 1763099468,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": true,
    "hide_query": false,
    "position_game": 1346,
    "language": "en",
    "parked": true,
    "app": {
      "id": 168,
      "steam_id": 9000035,
      "name": "Samp",
      "url": "samp"
    },
    "server_owner": {
      "username": "melovart",
      "avatar": "8197ff4e-a75c-4aa7-a08b-b285ec7c86fc.jpg"
    },
    "mods": [
      {
        "id": 5,
        "name": "Admin System"
      },
      {
        "id": 14,
        "name": "Advertisement"
      },
      {
        "id": 4,
        "name": "Admin List"
      },
      {
        "id": 23,
        "name": "Armor"
      },
      {
        "id": 19,
        "name": "AntiFlash"
      },
      {
        "id": 412,
        "name": "Aim"
      },
      {
        "id": 1603,
        "name": "AuctionHouse"
      }
    ],
    "disabled_modules": []
  }
}

Примеры кода

php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/9374462");
$data = json_decode($json, true);
var_dump($data);