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

text
https://api.gamemonitoring.ru/servers/16817303
json
{
  "response": {
    "add_date": 1789944688,
    "app": {
      "id": 18,
      "name": "Left 4 Dead",
      "steam_id": 500,
      "url": "left-4-dead"
    },
    "color": 0,
    "connect": "82.23.183.143:27091",
    "country": "DE",
    "domain": null,
    "game": 500,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 16817303,
    "ip": "82.23.183.143",
    "language": "de",
    "last_update": 1790976364,
    "map": "l4d_hospital01_apartment",
    "maxplayers": 4,
    "name": "qtland Left 4 Dead EU West Server (srcds401-fra2.275.77)",
    "numplayers": 0,
    "official": null,
    "points": 0,
    "port": 27091,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27091,
    "request": "82.23.183.143:27091",
    "secured": true,
    "status": false,
    "steam_id": null,
    "version": "1.0.4.5",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Франкфурт-на-Майне",
    "description": null,
    "disabled_modules": [],
    "gamemode": "L4D - Co-op - Normal",
    "hidden": false,
    "last_offline": 1790976364,
    "last_online": 1790745997,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 1784,
    "wipe_period": null,
    "coop": "0",
    "sv_tags": "qtland",
    "sv_cheats": "0",
    "deathmatch": "1",
    "listentype": "d",
    "sv_contact": "",
    "environment": "l",
    "sv_password": "0",
    "tv_password": "0",
    "a2s_protocol": 7,
    "sv_steamgroup": "",
    "sv_voiceenable": "1",
    "players_complete": true,
    "tv_relaypassword": "0"
  }
}

Примеры кода

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