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

text
https://api.gamemonitoring.ru/servers/17878261
json
{
  "response": {
    "add_date": 1791346994,
    "app": {
      "id": 11,
      "name": "Left 4 Dead 2",
      "steam_id": 550,
      "url": "left-4-dead-2"
    },
    "color": 0,
    "connect": "80.116.228.187:27016",
    "country": "IT",
    "domain": null,
    "game": 550,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 17878261,
    "ip": "80.116.228.187",
    "language": "it",
    "last_update": 1792946214,
    "map": "c1m4_atrium",
    "maxplayers": 12,
    "name": "TestServer",
    "numplayers": 0,
    "official": null,
    "points": 0,
    "port": 27016,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27016,
    "request": "80.116.228.187:27016",
    "secured": true,
    "status": false,
    "steam_id": "90295185603730436",
    "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": 1792946214,
    "last_online": 1792341918,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 20964,
    "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": "1",
    "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_maxplayers": "12",
    "sv_specnoclip": "1",
    "sv_steamgroup": "4330385",
    "zf_mr_enabled": "1",
    "zf_tw_enabled": "1",
    "decalfrequency": "10",
    "mp_fadetoblack": "0",
    "survivor_limit": "4",
    "sv_noclipspeed": "5",
    "sv_voiceenable": "1",
    "tauntfrequency": "1",
    "metamod_version": "1.12.0-dev+1225V",
    "mp_forcerespawn": "1",
    "mp_friendlyfire": "1",
    "zf_tw_aim_angle": "22.0",
    "mp_autocrosshair": "1",
    "players_complete": true,
    "stripper_version": "1.2.2",
    "sv_airaccelerate": "10",
    "sv_waterfriction": "1",
    "tv_relaypassword": "0",
    "zf_mr_report_url": "http://80.116.228.187:27080/testserver/report/",
    "r_JeepViewZHeight": "10.0",
    "sourcemod_version": "1.12.0.7246",
    "sv_noclipfriction": "4",
    "sv_specaccelerate": "5",
    "zf_mr_debug_clock": "0",
    "zf_mr_report_chat": "1",
    "zf_tw_custom_star": "0",
    "a4d_notify_players": "1",
    "mp_autoteambalance": "1",
    "sv_wateraccelerate": "10",
    "zf_mr_debug_events": "0",
    "zf_mr_report_title": "Zombie Foundry Match Report",
    "zf_tw_custom_sound": "1",
    "zf_tw_sound_launch": "zombiefoundry/zf_tank_rock_throw.mp3",
    "zf_tw_sound_windup": "zombiefoundry/zf_tank_rock_alert.mp3",
    "l4d2_addons_eclipse": "-1",
    "left4dhooks_version": "1.172",
    "mp_stalemate_enable": "0",
    "r_VehicleViewDampen": "1",
    "sv_force_unreserved": "0",
    "sv_noclipaccelerate": "5",
    "tf_arena_max_streak": "5",
    "tf_arena_round_time": "0",
    "zf_tw_poll_interval": "0.12",
    "director_afk_timeout": "999999",
    "r_AirboatViewZHeight": "0.0",
    "r_JeepViewDampenDamp": "1.0",
    "r_JeepViewDampenFreq": "7.0",
    "zf_mr_report_console": "1",
    "l4d2_spawn_props_glow": "1",
    "stripper_current_file": "c1m4_atrium",
    "zf_mr_debug_auto_dump": "1",
    "zf_mr_debug_round_end": "0",
    "zf_mr_dev_allow_pause": "0",
    "l4d2_spawn_props_items": "1",
    "tf_arena_preround_time": "10",
    "zf_mr_debug_boundaries": "0",
    "zf_mr_debug_trace_chat": "0",
    "l4d2_spawn_props_static": "1",
    "l4d_unreservelobby_full": "1",
    "r_AirboatViewDampenDamp": "1.0",
    "r_AirboatViewDampenFreq": "7.0",
    "zf_mr_report_open_delay": "10",
    "l4d2_spawn_props_dynamic": "1",
    "l4d2_spawn_props_physics": "1",
    "l4d2_spawn_props_version": "4.4-2026/6/6",
    "mp_disable_respawn_times": "0",
    "mp_teams_unbalance_limit": "1",
    "mp_stalemate_at_timelimit": "0",
    "l4d_unreservelobby_trigger": "0",
    "l4d_unreservelobby_version": "1.7h-2025/5/12",
    "zf_mr_tank_report_on_death": "1",
    "l4d2_spawn_props_model_file": "data/l4d2_spawn_props/model_english.cfg",
    "l4d_afk_commands_idle_block": "0",
    "l4d2_spawn_props_log_actions": "0",
    "l4d_afk_commands_pressM_block": "1",
    "zf_mr_reset_on_survival_start": "1",
    "l4d_afk_commands_grenade_block": "1",
    "l4d_afk_commands_show_messages": "1",
    "zf_mr_report_open_on_round_end": "1",
    "zf_mr_debug_clock_chat_fallback": "0",
    "l4d_afk_commands_get_vomit_block": "1",
    "l4d_afk_commands_throwable_block": "1",
    "l4d_afk_commands_deadplayer_block": "1",
    "l4d_afk_commands_spec_access_flag": "",
    "l4d_afk_commands_takeabreak_block": "0",
    "sm_spawn_infected_nolimit_version": "1.6h-2026/7/23",
    "l4d_afk_commands_immune_block_flag": "-1",
    "l4d_afk_commands_takecontrol_block": "1",
    "l4d_afk_commands_infected_cap_block": "1",
    "l4d_afk_commands_witch_attack_block": "1",
    "l4d_afk_commands_getup_stagger_block": "1",
    "l4d_afk_commands_weapon_reload_block": "1",
    "l4d2_spawn_props_autoload_random_path": "0",
    "l4d_afk_commands_infected_access_flag": "",
    "l4d_afk_commands_observer_access_flag": "z",
    "l4d_afk_commands_suicide_allow_second": "30.0",
    "l4d_afk_commands_survivor_access_flag": "",
    "l4d_unreservelobby_heartbeat_interval": "30.0",
    "l4d_afk_commands_infected_attack_block": "1",
    "l4d_afk_commands_changeteam_cooltime_block": "10.0",
    "l4d_afk_commands_during_game_seconds_block": "0",
    "l4d_afk_commands_igniteprop_cooltime_block": "15.0",
    "l4d_afk_commands_versus_teams_balance_enable": "1",
    "l4d_afk_commands_versus_teams_unbalance_limit": "2",
    "l4d_afk_commands_infected_spawn_cooltime_block": "10.0"
  }
}

Примеры кода

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