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

text
https://api.gamemonitoring.ru/servers/11786905
json
{
  "response": {
    "add_date": 1781377017,
    "app": {
      "id": 71,
      "name": "Project Zomboid",
      "steam_id": 108600,
      "url": "project-zomboid"
    },
    "color": 0,
    "connect": "208.75.182.129:27370",
    "country": "US",
    "domain": null,
    "game": 108600,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 11786905,
    "ip": "208.75.182.129",
    "language": "en",
    "last_update": 1791257105,
    "map": "map_distanciado;Muldraugh, KY",
    "maxplayers": 4,
    "name": "B42 Couple",
    "numplayers": 0,
    "official": null,
    "points": 60,
    "port": 27370,
    "private": true,
    "project_id": null,
    "pve": null,
    "pvp": 0,
    "query": 27370,
    "request": "208.75.182.129:27370",
    "secured": true,
    "status": true,
    "steam_id": "90294168557809671",
    "version": "42.21",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Чикаго",
    "description": "Build 42.20 Stable — private group",
    "disabled_modules": [],
    "gamemode": "Project Zomboid",
    "hidden": false,
    "last_offline": 1790620542,
    "last_online": 1791257105,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 970,
    "wipe_period": null,
    "open": "1",
    "public": "0",
    "lastWipe": "0",
    "modCount": "42",
    "listentype": "d",
    "environment": "l",
    "a2s_protocol": 17,
    "players_complete": true
  }
}

Примеры кода

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