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

text
https://api.gamemonitoring.ru/servers/19941148
json
{
  "response": {
    "add_date": 1794368093,
    "app": {
      "id": 1625562,
      "name": "Soulmask",
      "steam_id": 2646460,
      "url": "soulmask"
    },
    "color": 0,
    "connect": "87.152.1.12:8778",
    "country": "DE",
    "domain": null,
    "game": 2646460,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 19941148,
    "ip": "87.152.1.12",
    "language": "de",
    "last_update": 1794602718,
    "map": "Level01_Main",
    "maxplayers": 50,
    "name": "AMP Powered Soulmask Server",
    "numplayers": 0,
    "official": null,
    "points": 0,
    "port": 8778,
    "private": null,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27017,
    "request": "87.152.1.12:27017",
    "secured": true,
    "status": false,
    "steam_id": "90296222690237440",
    "version": "1.0.0.0",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Бухлоэ",
    "description": null,
    "disabled_modules": [],
    "gamemode": null,
    "hidden": false,
    "last_offline": 1794602718,
    "last_online": 1794452341,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 2887,
    "wipe_period": null,
    "os": "l",
    "region": -1,
    "product": "Soulmask",
    "gametype": ",CGM_i:0,GREENGAME_s:0,B64_s:ANwCpu/LQAEAAAAAAAEAAQAHAAAAAMonNQEAAAAAAAAAAKsCAAA6Xg8A/////wAA8EIAAAAAMjI=",
    "dedicated": true
  }
}

Примеры кода

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