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

text
https://api.gamemonitoring.ru/servers/12600608
json
{
  "response": {
    "add_date": 1784985135,
    "app": {
      "id": 71,
      "name": "Project Zomboid",
      "steam_id": 108600,
      "url": "project-zomboid"
    },
    "color": 0,
    "connect": "65.21.208.45:16261",
    "country": "FI",
    "domain": null,
    "game": 108600,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 12600608,
    "ip": "65.21.208.45",
    "language": "fi",
    "last_update": 1794156767,
    "map": "Muldraugh, KY",
    "maxplayers": 32,
    "name": "My PZ Server",
    "numplayers": 0,
    "official": null,
    "points": 30,
    "port": 16261,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": 1,
    "query": 16261,
    "request": "65.21.208.45:16261",
    "secured": true,
    "status": true,
    "steam_id": "90295500812071939",
    "version": "41.78.19",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Хельсинки",
    "description": null,
    "disabled_modules": [],
    "gamemode": "Project Zomboid",
    "hidden": false,
    "last_offline": 1790083464,
    "last_online": 1794156767,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 2278,
    "wipe_period": null,
    "open": "1",
    "public": "0",
    "modCount": "0",
    "listentype": "d",
    "environment": "l",
    "a2s_protocol": 17,
    "players_complete": true
  }
}

Примеры кода

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