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

text
https://api.gamemonitoring.ru/servers/17767614
json
{
  "response": {
    "add_date": 1791197159,
    "app": {
      "id": 167,
      "name": "Day of Infamy",
      "steam_id": 447820,
      "url": "day-of-infamy"
    },
    "color": 0,
    "connect": "54.36.45.248:21318",
    "country": "ES",
    "domain": null,
    "game": 447820,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 17767614,
    "ip": "54.36.45.248",
    "language": "es",
    "last_update": 1791220010,
    "map": "saint_lo",
    "maxplayers": 49,
    "name": "[BAKER'S CREW] >>FREE<< SCRIMAGE",
    "numplayers": 0,
    "official": null,
    "points": 0,
    "port": 21318,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 21318,
    "request": "54.36.45.248:21318",
    "secured": true,
    "status": false,
    "steam_id": "90294130510726163",
    "version": "3.2.1.5",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Мадрид",
    "description": null,
    "disabled_modules": [],
    "gamemode": "DOI",
    "hidden": false,
    "last_offline": 1791220010,
    "last_online": 1791200773,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 2412,
    "wipe_period": null,
    "coop": "0",
    "sv_tags": "bots,increased_maxplayers,linux,ranked,registered,secure",
    "nextlevel": "",
    "sv_cheats": "0",
    "tv_enable": "0",
    "deathmatch": "1",
    "listentype": "d",
    "sv_alltalk": "0",
    "sv_contact": "",
    "environment": "l",
    "mp_winlimit": "0",
    "sv_password": "0",
    "sv_pausable": "0",
    "tv_password": "1",
    "a2s_protocol": 17,
    "mp_fraglimit": "0",
    "mp_timelimit": "0",
    "sv_specnoclip": "0",
    "mp_fadetoblack": "0",
    "sv_voiceenable": "1",
    "mp_friendlyfire": "0",
    "players_complete": true,
    "tv_relaypassword": "1"
  }
}

Примеры кода

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