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

text
https://api.gamemonitoring.ru/servers/8121414
json
{
  "response": {
    "add_date": 1741879521,
    "app": {
      "id": 11,
      "name": "Left 4 Dead 2",
      "steam_id": 550,
      "url": "left-4-dead-2"
    },
    "color": 0,
    "connect": "45.11.231.30:26000",
    "country": "US",
    "domain": null,
    "game": 550,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 8121414,
    "ip": "45.11.231.30",
    "language": "en",
    "last_update": 1790307622,
    "map": "c11m3_garage",
    "maxplayers": 12,
    "name": "Lewd4Dead: Ashburn 1",
    "numplayers": 0,
    "official": null,
    "points": 30,
    "port": 26000,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 26000,
    "request": "45.11.231.30:26000",
    "secured": true,
    "status": true,
    "steam_id": "90293375959242754",
    "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": 1781115271,
    "last_online": 1790307622,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 7458,
    "wipe_period": null,
    "god": "0",
    "coop": "0",
    "buddha": "0",
    "sv_tags": "coop,official,versus",
    "l4d_debug": "0",
    "nextlevel": "",
    "sv_bounce": "0",
    "sv_cheats": "0",
    "tv_enable": "0",
    "acsh_delay": "61",
    "deathmatch": "1",
    "em_ps_bess": "2.1",
    "l4d_XtraHP": "1",
    "listentype": "d",
    "mp_c4timer": "45",
    "sb_version": "1.8.5",
    "sm_nextmap": "",
    "sv_alltalk": "0",
    "sv_contact": "admin@gameserver.com",
    "sv_gravity": "800",
    "vb_version": "1.3.4",
    "environment": "l",
    "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",
    "zcs_version": "0.9.7",
    "a2s_protocol": 17,
    "lnc_timer_cp": "5",
    "lnc_timer_vs": "4.000000",
    "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",
    "l4d2_crawling": "1",
    "l4d_autolobby": "1",
    "l4d_reloadmap": "1",
    "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": "25771395,2450706,964095,4755837,192743,42575828,1158599",
    "decalfrequency": "10",
    "mp_fadetoblack": "0",
    "sam_vs_version": "1.2",
    "sm_sel_version": "0.5.5",
    "survivor_limit": "4",
    "sv_noclipspeed": "5",
    "sv_voiceenable": "0",
    "tauntfrequency": "1",
    "hr_give_molotov": "1",
    "metamod_version": "1.11.0-dev+1155V",
    "mp_forcerespawn": "1",
    "mp_friendlyfire": "1",
    "sm_max_take_bot": "8",
    "mp_autocrosshair": "1",
    "players_complete": true,
    "sv_airaccelerate": "10",
    "sv_waterfriction": "1",
    "tv_relaypassword": "0",
    "l4d_HP_Multiplier": "0",
    "l4d_smokeit_speed": "1",
    "r_JeepViewZHeight": "10.0",
    "sbchecker_version": "2.0.0",
    "sourcemod_version": "1.12.0.7167",
    "sv_noclipfriction": "4",
    "sv_specaccelerate": "5",
    "l4d2_crawling_glow": "0",
    "l4d2_crawling_hint": "2",
    "l4d2_crawling_hurt": "2",
    "l4d2_crawling_rate": "15",
    "l4d2_crawling_spit": "1",
    "l4d2_crawling_view": "1",
    "l4d_infected_limit": "12",
    "l4d_survivor_limit": "12",
    "l4d_unreserve_full": "1",
    "mp_autoteambalance": "1",
    "sv_wateraccelerate": "10",
    "l4d2_addons_eclipse": "-1",
    "l4d2_crawling_crazy": "0",
    "l4d2_crawling_modes": "",
    "l4d2_crawling_speed": "15",
    "l4d_killreservation": "0",
    "l4d_smokeit_version": "1.2",
    "left4dhooks_version": "1.155",
    "mp_stalemate_enable": "0",
    "r_VehicleViewDampen": "1",
    "sbpp_report_version": "1.8.0",
    "sourcecomms_version": "1.8.4",
    "sv_noclipaccelerate": "5",
    "tf_arena_max_streak": "5",
    "tf_arena_round_time": "0",
    "director_afk_timeout": "45",
    "l4d_connounce_enable": "1",
    "r_AirboatViewZHeight": "0.0",
    "r_JeepViewDampenDamp": "1.0",
    "r_JeepViewDampenFreq": "7.0",
    "sbpp_discord_version": "1.1.0",
    "sm_max_team_switches": "6",
    "em_points_sys_version": "2.2",
    "l4d2_crawling_version": "2.9",
    "l4d2_jockeyjump_delay": "0.5",
    "l4d2_jockeyjump_force": "600.0",
    "l4d_unreserve_version": "2.0.0",
    "command_buffer_version": "2.9",
    "l4d2_crawling_hint_num": "2",
    "l4d2_jockeyjump_enable": "1",
    "sm_max_survivor_player": "4",
    "sm_superversus_version": "1.5.5",
    "tf_arena_preround_time": "10",
    "l4d2_crawling_modes_off": "",
    "l4d2_crawling_modes_tog": "0",
    "l4d2_jockeyjump_version": "1.0.3",
    "r_AirboatViewDampenDamp": "1.0",
    "r_AirboatViewDampenFreq": "7.0",
    "sm_sourcesleuth_version": "1.8.0",
    "l4d2_car_alarm_bots_type": "3",
    "l4d_cannounce_ads_enable": "0",
    "mp_disable_respawn_times": "0",
    "mp_teams_unbalance_limit": "1",
    "l4d2_car_alarm_bots_allow": "1",
    "l4d2_car_alarm_bots_modes": "",
    "l4d2_jockeyjump_soundfile": "voice/mechanic/worldc2m1b09.wav",
    "mp_stalemate_at_timelimit": "0",
    "sm_advertisements_version": "0.6",
    "l4d2_charger_steering_bots": "2",
    "l4d2_charger_steering_hint": "2",
    "l4d_cannounce_displya_mode": "3",
    "l4d_smokeit_tongue_stretch": "4000",
    "l4d2_car_alarm_bots_version": "1.9",
    "l4d2_charger_steering_allow": "3",
    "l4d2_charger_steering_flags": "",
    "l4d2_charger_steering_hints": "2",
    "l4d2_charger_steering_modes": "",
    "l4d2_jockeyjump_rechargebar": "1",
    "l4d2_car_alarm_bots_infected": "3",
    "l4d2_charger_steering_strafe": "50.0",
    "l4d_cannounce_counter_enable": "0",
    "l4d2_car_alarm_bots_modes_off": "",
    "l4d2_car_alarm_bots_modes_tog": "0",
    "l4d2_charger_steering_version": "1.10",
    "l4d2_charger_steering_modes_off": "",
    "l4d2_charger_steering_modes_tog": "0",
    "l4d_cannounce_disconnect_enable": "0",
    "l4d_cannounce_player_info_version": "2.0.0",
    "sm_drop_clear_infected_weapon_time": "180",
    "sm_drop_clear_survivor_weapon_time": "60",
    "sm_drop_clear_survivor_weapon_gnome": "0",
    "l4d2_car_alarm_bots_survivor_distance": "500",
    "sm_drop_clear_ground_upgrade_pack_time": "60",
    "sm_drop_clear_survivor_weapon_cola_bottles": "0"
  }
}

Примеры кода

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