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

text
https://api.gamemonitoring.ru/servers/12024157
json
{
  "response": {
    "dedicated": true,
    "gametype": "BUILDID:1030002,OWNINGID:90290040360463378,OWNINGNAME:90290040360463378,SESSIONFLAGS:43,ShortCode_s:TEGA2,GamePort_i:7777",
    "os": "w",
    "product": "AbioticFactor",
    "region": -1,
    "steam_id": "90290040360463378",
    "domain": null,
    "id": 12024157,
    "ip": "194.15.120.96",
    "port": 7777,
    "query": 27015,
    "project_id": null,
    "color": 0,
    "city": "Łomianki",
    "description": null,
    "game": 427410,
    "owner": null,
    "boosts": 1,
    "last_offline": 1785626100,
    "last_online": 1785777600,
    "icon": null,
    "name": "90290040360463378",
    "connect": "194.15.120.96:7777",
    "request": "194.15.120.96:27015",
    "map": null,
    "gamemode": null,
    "version": "1.0.0.6",
    "numplayers": 0,
    "maxplayers": 6,
    "bots": 0,
    "secured": false,
    "private": null,
    "country": "PL",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1783799630,
    "last_update": 1785777600,
    "ban_reason": null,
    "banned": 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": 1521,
    "language": "pl",
    "parked": false,
    "app": {
      "id": 1611062,
      "steam_id": 427410,
      "name": "Abiotic Factor",
      "url": "abiotic-factor"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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