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

text
https://api.gamemonitoring.ru/servers/13142385
json
{
  "response": {
    "steam_id": "90291831875755012",
    "domain": null,
    "id": 13142385,
    "ip": "109.239.154.249",
    "port": 16471,
    "query": 16471,
    "project_id": null,
    "color": 0,
    "city": "Грeнобль",
    "description": null,
    "game": 108600,
    "boosts": 1,
    "last_offline": 1788718670,
    "last_online": 1788130394,
    "icon": null,
    "name": "Projecto Zomboido",
    "connect": "109.239.154.249:16471",
    "request": "109.239.154.249:16471",
    "map": "map_distanciado;This Is Your Li",
    "gamemode": "Project Zomboid",
    "version": "42.20",
    "numplayers": 0,
    "maxplayers": 8,
    "bots": 0,
    "secured": true,
    "private": true,
    "country": "FR",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1785534083,
    "last_update": 1788718670,
    "ban_reason": null,
    "banned": false,
    "hidden": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 11973,
    "language": "fr",
    "parked": false,
    "app": {
      "id": 71,
      "steam_id": 108600,
      "name": "Project Zomboid",
      "url": "project-zomboid"
    },
    "mods": [],
    "disabled_modules": [],
    "map_url": null
  }
}

Примеры кода

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