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

text
https://api.gamemonitoring.ru/servers/19999139
json
{
  "response": {
    "add_date": 1794409112,
    "app": {
      "id": 1665400,
      "name": "Half-Life: Cross Product Multiplayer",
      "steam_id": 3416640,
      "url": "half-life-cross-product-multiplayer"
    },
    "color": 0,
    "connect": "82.224.130.139:27015",
    "country": "FR",
    "domain": null,
    "game": 3416640,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 19999139,
    "ip": "82.224.130.139",
    "language": "fr",
    "last_update": 1794770783,
    "map": "Nivalis",
    "maxplayers": 6,
    "name": "ɪ ʟᴏᴠᴇ ʏᴏᴜ ∇",
    "numplayers": 0,
    "official": null,
    "points": 0,
    "port": 27015,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27015,
    "request": "82.224.130.139:27015",
    "secured": true,
    "status": false,
    "steam_id": "90297276447650834",
    "version": "2.10.0.0",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Пуатье",
    "description": null,
    "disabled_modules": [],
    "gamemode": "Firefight Zombies",
    "hidden": false,
    "last_offline": 1794770783,
    "last_online": 1794427053,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 7,
    "wipe_period": null,
    "listentype": "d",
    "environment": "w",
    "a2s_protocol": 17,
    "players_complete": true
  }
}

Примеры кода

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