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

text
https://api.gamemonitoring.ru/servers/20097550
json
{
  "response": {
    "add_date": 1794623522,
    "app": {
      "id": 11,
      "name": "Left 4 Dead 2",
      "steam_id": 550,
      "url": "left-4-dead-2"
    },
    "color": 0,
    "connect": "162.206.78.163:27016",
    "country": "US",
    "domain": null,
    "game": 550,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 20097550,
    "ip": "162.206.78.163",
    "language": "en",
    "last_update": 1794675888,
    "map": "M1_LS_FSL_LFSWJ",
    "maxplayers": 8,
    "name": "L4D2 8 Player Co-op",
    "numplayers": 0,
    "official": null,
    "points": 0,
    "port": 27016,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27016,
    "request": "162.206.78.163:27016",
    "secured": true,
    "status": false,
    "steam_id": "90297452975358979",
    "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": 1794675888,
    "last_online": 1794674032,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 24990,
    "wipe_period": null,
    "god": "0",
    "coop": "0",
    "buddha": "0",
    "sv_tags": "",
    "nextlevel": "",
    "sv_bounce": "0",
    "sv_cheats": "0",
    "tv_enable": "0",
    "deathmatch": "1",
    "listentype": "d",
    "mp_c4timer": "45",
    "sm_nextmap": "",
    "sv_alltalk": "0",
    "sv_contact": "",
    "sv_gravity": "800",
    "environment": "w",
    "mp_teamlist": "hgrunt;scientist",
    "mp_teamplay": "0",
    "mp_winlimit": "0",
    "sv_friction": "4",
    "sv_maxspeed": "1000.000000",
    "sv_password": "0",
    "sv_stepsize": "18",
    "tv_password": "0",
    "a2s_protocol": 17,
    "mp_allowNPCs": "1",
    "mp_footsteps": "1",
    "mp_fraglimit": "0",
    "mp_maxrounds": "0",
    "mp_roundtime": "5",
    "mp_timelimit": "0",
    "sv_footsteps": "1",
    "sv_rollangle": "0",
    "sv_rollspeed": "200",
    "sv_specspeed": "3",
    "sv_stopspeed": "75",
    "mp_falldamage": "0",
    "mp_flashlight": "1",
    "mp_freezetime": "6",
    "mp_limitteams": "2",
    "mp_tournament": "0",
    "mp_weaponstay": "0",
    "sv_accelerate": "5",
    "sv_specnoclip": "1",
    "sv_steamgroup": "",
    "decalfrequency": "10",
    "mp_fadetoblack": "0",
    "sv_noclipspeed": "5",
    "sv_voiceenable": "1",
    "tauntfrequency": "1",
    "metamod_version": "1.12.0-dev+1229V",
    "mp_forcerespawn": "1",
    "mp_friendlyfire": "1",
    "mp_autocrosshair": "1",
    "players_complete": true,
    "sv_airaccelerate": "10",
    "sv_waterfriction": "1",
    "tv_relaypassword": "0",
    "r_JeepViewZHeight": "10.0",
    "sourcemod_version": "1.12.0.7260",
    "sv_noclipfriction": "4",
    "sv_specaccelerate": "5",
    "mp_autoteambalance": "1",
    "sv_wateraccelerate": "10",
    "l4d2_addons_eclipse": "-1",
    "left4dhooks_version": "1.175",
    "mp_stalemate_enable": "0",
    "r_VehicleViewDampen": "1",
    "sv_noclipaccelerate": "5",
    "tf_arena_max_streak": "5",
    "tf_arena_round_time": "0",
    "director_afk_timeout": "45",
    "r_AirboatViewZHeight": "0.0",
    "r_JeepViewDampenDamp": "1.0",
    "r_JeepViewDampenFreq": "7.0",
    "l4d_multislots_version": "7.4-2026/4/16",
    "tf_arena_preround_time": "10",
    "r_AirboatViewDampenDamp": "1.0",
    "r_AirboatViewDampenFreq": "7.0",
    "l4d_multislots_respawnhp": "80",
    "mp_disable_respawn_times": "0",
    "mp_teams_unbalance_limit": "1",
    "mp_stalemate_at_timelimit": "0",
    "l4d_multislots_fifthweapon": "0",
    "l4d_multislots_firstweapon": "19",
    "l4d_multislots_forthweapon": "0",
    "l4d_multislots_thirdweapon": "4",
    "l4d_multislots_secondweapon": "5",
    "l4d_multislots_max_survivors": "8",
    "l4d_multislots_min_survivors": "4",
    "l4d_multislots_respawnbuffhp": "20",
    "l4d_multislots_alive_bot_time": "0",
    "l4d_multislots_dead_bot_method": "1",
    "l4d_multislots_bot_items_delete": "1",
    "l4d_multislots_steamid_validate": "1",
    "l4d_multislots_join_command_block": "0",
    "l4d_multislots_no_second_free_spawn": "0",
    "l4d_multislots_spec_message_interval": "25",
    "l4d_multislots_finale_extra_first_aid": "1",
    "l4d_multislots_respawn_invincibletime": "3.0",
    "l4d_multislots_versus_command_balance": "1",
    "l4d_multislots_free_spawn_crash_player": "1",
    "l4d_multislots_saferoom_extra_first_aid": "1",
    "l4d_multislots_spawn_survivors_roundstart": "0",
    "l4d_multislots_versus_teams_unbalance_limit": "1"
  }
}

Примеры кода

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