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

text
https://api.gamemonitoring.ru/servers/17613995
json
{
  "response": {
    "add_date": 1790933754,
    "app": {
      "id": 24,
      "name": "Team Fortress 2",
      "steam_id": 440,
      "url": "team-fortress-2"
    },
    "color": 0,
    "connect": "146.59.52.61:27020",
    "country": "PL",
    "domain": null,
    "game": 440,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 17613995,
    "ip": "146.59.52.61",
    "language": "pl",
    "last_update": 1794739329,
    "map": "mvm_riptide_z1_custom",
    "maxplayers": 6,
    "name": "Mann Co. Oddział Polska | MvM | Riptide od Mastrego",
    "numplayers": 0,
    "official": null,
    "points": 30,
    "port": 27020,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27020,
    "request": "146.59.52.61:27020",
    "secured": true,
    "status": true,
    "steam_id": "85568392936592152",
    "version": "11191711",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Варшава",
    "description": null,
    "disabled_modules": [],
    "gamemode": "Team Fortress",
    "hidden": false,
    "last_offline": 1794615684,
    "last_online": 1794739329,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 1919,
    "wipe_period": null,
    "listentype": "d",
    "environment": "l",
    "a2s_protocol": 17,
    "sourcetvname": "MannCo SourceTV",
    "sourcetvport": 28020,
    "players_complete": true
  }
}

Примеры кода

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