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

text
https://api.gamemonitoring.ru/servers/13855995
json
{
  "response": {
    "add_date": 1787190763,
    "app": {
      "id": 11,
      "name": "Left 4 Dead 2",
      "steam_id": 550,
      "url": "left-4-dead-2"
    },
    "color": 0,
    "connect": "64.31.28.147:22545",
    "country": "US",
    "domain": null,
    "game": 550,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 13855995,
    "ip": "64.31.28.147",
    "language": "en",
    "last_update": 1794699730,
    "map": "l4d2_scream01_yards",
    "maxplayers": 4,
    "name": "Mod4Dead N2",
    "numplayers": 0,
    "official": null,
    "points": 30,
    "port": 22545,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 22545,
    "request": "64.31.28.147:22545",
    "secured": true,
    "status": true,
    "steam_id": null,
    "version": "2.2.4.3",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Нью-Йорк",
    "description": null,
    "disabled_modules": [],
    "gamemode": "Left 4 Dead 2",
    "hidden": false,
    "last_offline": 1793617529,
    "last_online": 1794699730,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 12051,
    "wipe_period": null,
    "": "",
    "god": "0",
    "buddha": "0",
    "sv_tags": "coop,public,secure",
    "sv_cheats": "0",
    "listentype": "d",
    "sv_alltalk": "0",
    "environment": "w",
    "mp_teamlist": "hgrunt;scientist",
    "sv_maxspeed": "1000.000000",
    "sv_stepsize": "18",
    "a2s_protocol": 7,
    "mp_allowNPCs": "1",
    "mp_footsteps": "1",
    "mp_maxrounds": "0",
    "mp_timelimit": "0",
    "sv_rollangle": "0",
    "sv_rollspeed": "200",
    "mp_flashlight": "1",
    "mp_tournament": "0",
    "mp_fadetoblack": "0",
    "survivor_limit": "4",
    "tauntfrequency": "1",
    "metamod_version": "1.12.0-dev+1225V",
    "mp_autocrosshair": "1",
    "players_complete": true,
    "sv_airaccelerate": "10",
    "l4d_ch_sound_file": "npc/witch/voice/attack/Female_DistantScream2.wav",
    "sourcemod_version": "1.12.0.7246",
    "sv_noclipfriction": "4",
    "sv_wateraccelerate": "10",
    "l4d2_addons_eclipse": "-1",
    "mp_stalemate_enable": "0",
    "r_VehicleViewDampen": "1",
    "sv_noclipaccelerate": "5",
    "r_AirboatViewZHeight": "0.0",
    "l4d2_guncontrol_version": "1.1.3",
    "mp_teams_unbalance_limit": "1",
    "l4d2_votemanager_cooldown": "15.0",
    "l4d2_guncontrol_shotgunammo": "56",
    "l4d2_spawn_uncommons_autotypes": "82",
    "l4d2_guncontrol_sniperrifleammo": "180",
    "l4d2_spawn_uncommons_autoshuffle": "1",
    "l4d_ch_trigger_random_horde_size": "0",
    "l4d2_guncontrol_allowm60replenish": "1",
    "l4d_ch_trigger_random_alert_horde": "0",
    "sm_riotcopheadshot_riotheadenable": "1.0",
    "l4d2_guncontrol_explosiveammomulti": "1",
    "sm_riotcopheadshot_riotbodydivisor": "4",
    "l4d2_guncontrol_grenadelauncherammo": "30",
    "l4d2_guncontrol_turnGLintoM60chance": "2",
    "l4d2_spawn_uncommons_healthoverride": "-1"
  }
}

Примеры кода

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