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

text
https://api.gamemonitoring.ru/servers/18940424
json
{
  "response": {
    "add_date": 1792850702,
    "app": {
      "id": 11,
      "name": "Left 4 Dead 2",
      "steam_id": 550,
      "url": "left-4-dead-2"
    },
    "color": 0,
    "connect": "61.228.66.34:27020",
    "country": "TW",
    "domain": null,
    "game": 550,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 18940424,
    "ip": "61.228.66.34",
    "language": null,
    "last_update": 1793085976,
    "map": "vltava_m6",
    "maxplayers": 16,
    "name": "huaaaaaa",
    "numplayers": 0,
    "official": null,
    "points": 0,
    "port": 27020,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27020,
    "request": "61.228.66.34:27020",
    "secured": true,
    "status": false,
    "steam_id": "90295701410718745",
    "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": 1793085976,
    "last_online": 1792858745,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 25165,
    "wipe_period": null,
    "god": "0",
    "coop": "0",
    "buddha": "0",
    "sv_tags": "",
    "ar_enable": "1",
    "nextlevel": "",
    "sv_bounce": "0",
    "sv_cheats": "0",
    "tv_enable": "0",
    "deathmatch": "1",
    "l4d2_lw_ff": "0",
    "listentype": "d",
    "mp_c4timer": "45",
    "sm_nextmap": "",
    "sv_alltalk": "0",
    "sv_contact": "",
    "sv_gravity": "800",
    "environment": "w",
    "l4d2_lw_awp": "1",
    "leaker_fire": "8",
    "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,
    "leaker_speed": "-1",
    "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_lw_g3sg1": "1",
    "l4d2_lw_scout": "1",
    "l4d_zoo_spawn": "8",
    "leaker_chance": "35",
    "leaker_events": "1",
    "leaker_health": "600",
    "mp_falldamage": "0",
    "mp_flashlight": "1",
    "mp_freezetime": "6",
    "mp_limitteams": "2",
    "mp_tournament": "0",
    "mp_weaponstay": "0",
    "sv_accelerate": "5",
    "sv_maxplayers": "18",
    "sv_specnoclip": "1",
    "sv_steamgroup": "44995201",
    "decalfrequency": "10",
    "l4d_zoo_enable": "1",
    "leaker_stumble": "200",
    "leaker_version": "1.6",
    "mp_fadetoblack": "0",
    "survivor_limit": "4",
    "sv_noclipspeed": "5",
    "sv_voiceenable": "1",
    "tauntfrequency": "1",
    "ar_melee_chance": "75",
    "ar_pills_chance": "20",
    "ar_respawn_msgs": "1",
    "l4d2_karma_jump": "1",
    "leaker_boomette": "1",
    "metamod_version": "1.11.0-dev+1155V",
    "mp_forcerespawn": "1",
    "mp_friendlyfire": "1",
    "ar_barrel_chance": "20",
    "ar_melee_enabled": "1",
    "ar_pills_enabled": "1",
    "ar_respawn_count": "5",
    "ar_respawn_delay": "60",
    "leaker_explosion": "3",
    "mp_autocrosshair": "1",
    "players_complete": true,
    "sv_airaccelerate": "10",
    "sv_waterfriction": "1",
    "tv_relaypassword": "0",
    "ar_barrel_enabled": "1",
    "defib_fix_version": "2.0.1",
    "l4d2_lw_shootonce": "0",
    "l4d_mutants_allow": "1",
    "l4d_mutants_modes": "",
    "leaker_can_damage": "1",
    "leaker_chance_bot": "-1",
    "r_JeepViewZHeight": "10.0",
    "sourcemod_version": "1.12.0.7137",
    "sv_noclipfriction": "4",
    "sv_specaccelerate": "5",
    "a4d_notify_players": "0",
    "a4d_zombies_to_add": "15",
    "l4d2_lw_chargetime": "7",
    "mp_autoteambalance": "1",
    "sm_tankhp_announce": "1",
    "sv_wateraccelerate": "10",
    "l4d2_addons_eclipse": "-1",
    "l4d2_lw_laseroffset": "36",
    "l4d2_lw_lethalforce": "500.0",
    "l4d_expshots_enable": "1",
    "leaker_damage_scale": "-1",
    "left4dhooks_version": "1.138",
    "mp_stalemate_enable": "0",
    "r_VehicleViewDampen": "1",
    "sm_tankhp_gaugetype": "0",
    "sv_force_unreserved": "1",
    "sv_noclipaccelerate": "5",
    "tf_arena_max_streak": "5",
    "tf_arena_round_time": "0",
    "ar_goodweapon_chance": "100",
    "director_afk_timeout": "45",
    "l4d2_karma_kill_bird": "1",
    "l4d2_lw_friendlyfire": "1",
    "l4d2_lw_huntingrifle": "1",
    "l4d2_lw_lethaldamage": "3000.0",
    "l4d2_lw_lethalweapon": "1",
    "l4d2_mutants_version": "1.5.0",
    "l4d_expshots_version": "1.0.1",
    "l4d_sm_respawn_ghost": "1",
    "l4d_sm_respawn_teams": "78",
    "leaker_stumble_vomit": "0",
    "r_AirboatViewZHeight": "0.0",
    "r_JeepViewDampenDamp": "1.0",
    "r_JeepViewDampenFreq": "7.0",
    "survivor_afk_fix_ver": "1.0.4",
    "ar_goodweapon_enabled": "0",
    "l4d2_meleefix_version": "1.0.0",
    "l4d_mutants_modes_off": "",
    "l4d_mutants_modes_tog": "0",
    "survivor_legs_version": "1.3.0",
    "command_buffer_version": "2.8",
    "l4d2_spot_marker_color": "200 200 200",
    "l4d_expshots_gamemodes": "",
    "l4d_infectedbots_allow": "1",
    "l4d_infectedbots_modes": "",
    "l4d_sm_respawn_loadout": "smg,pistol,pain_pills",
    "leaker_normalize_model": "1",
    "tf_arena_preround_time": "10",
    "a4d_always_force_bosses": "0",
    "l4d2_karma_kill_enabled": "1",
    "l4d_expshots_configfile": "data/l4d_explosiveshots.cfg",
    "l4d_sm_respawn2_version": "3.9",
    "l4d_sm_respawn_position": "34",
    "r_AirboatViewDampenDamp": "1.0",
    "r_AirboatViewDampenFreq": "7.0",
    "l4d2_item_hint_use_range": "150",
    "l4d2_item_hint_use_sound": "buttons/blip1.wav",
    "l4d2_karma_charge_prefix": "TS",
    "l4d2_karma_kill_cooldown": "0.0",
    "l4d2_karma_kill_slowmode": "0",
    "l4d_auto_respawn_version": "1.20",
    "l4d_infectedbots_version": "2.9.6",
    "l4d_sm_respawn_adminmenu": "1",
    "l4d_use_priority_version": "2.5",
    "leaker_restrict_survivor": "1",
    "mp_disable_respawn_times": "0",
    "mp_teams_unbalance_limit": "1",
    "sm_weaponspawner_version": "1.0a",
    "l4d2_awp_reload_clip_time": "2.0",
    "l4d2_item_hint_glow_color": "0 255 255",
    "l4d2_item_hint_glow_range": "1800",
    "l4d2_item_hint_glow_timer": "10.0",
    "l4d2_karma_charge_version": "4.2",
    "l4d2_karma_kill_slowspeed": "0.2",
    "l4d2_karma_only_confirmed": "0",
    "l4d2_m60_reload_clip_time": "1.2",
    "l4d2_smg_reload_clip_time": "1.04",
    "l4d2_spot_marker_duration": "10.0",
    "l4d_sm_respawn_accessflag": "d",
    "l4d_sm_respawn_showaction": "1",
    "mp_stalemate_at_timelimit": "0",
    "l4d2_ak47_reload_clip_time": "1.2",
    "l4d2_karma_award_confirmed": "1",
    "l4d2_spot_marker_use_range": "1800",
    "l4d2_spot_marker_use_sound": "buttons/blip1.wav",
    "l4d2_ty_saveweapons_health": "1",
    "l4d_infectedbots_modes_off": "",
    "l4d_infectedbots_modes_tog": "0",
    "l4d_infectedbots_read_data": "",
    "witch_target_patch_version": "1.4",
    "a4d_refresh_zombie_location": "20.0",
    "l4d2_karma_kill_allow_defib": "0",
    "l4d2_rifle_reload_clip_time": "1.2",
    "l4d2_scout_reload_clip_time": "1.45",
    "l4d2_sg552_reload_clip_time": "1.6",
    "L4D2_Multiplayer_RMC_version": "1.1",
    "l4d2_item_hint_announce_type": "1",
    "l4d2_item_hint_cooldown_time": "1.0",
    "l4d2_mangum_reload_clip_time": "1.18",
    "l4d2_pistol_reload_clip_time": "1.2",
    "l4d2_smgmp5_reload_clip_time": "1.7",
    "l4d2_ty_saveweapons_save_bot": "1",
    "l4d_infectedbots_versus_coop": "0",
    "leaker_normalize_l4d1_chance": "50",
    "l4d2_grenade_reload_clip_time": "2.5",
    "l4d2_item_instructorhint_icon": "icon_interact",
    "l4d2_weapon_csgo_reload_allow": "1",
    "l4d2_infected_marker_use_range": "2800",
    "l4d2_infected_marker_use_sound": "items/suitchargeok1.wav",
    "l4d2_item_instructorhint_color": "0 255 255",
    "l4d2_spot_marker_announce_type": "2",
    "l4d2_spot_marker_cooldown_time": "2.5",
    "l4d_infectedbots_infhud_enable": "1",
    "l4d2_infected_marker_glow_color": "255 120 203",
    "l4d2_infected_marker_glow_range": "2800",
    "l4d2_infected_marker_glow_timer": "20.0",
    "l4d2_item_instructorhint_enable": "1",
    "l4d2_ty_saveweapons_save_health": "1",
    "l4d_stuckzombiemeleefix_version": "1.0.4",
    "l4d2_dualpistol_reload_clip_time": "1.75",
    "l4d_infectedbots_infhud_announce": "1",
    "l4d2_desertrifle_reload_clip_time": "1.8",
    "l4d2_infected_marker_witch_enable": "1",
    "l4d2_karma_damage_award_confirmed": "300",
    "l4d2_smgsilenced_reload_clip_time": "1.05",
    "l4d2_huntingrifle_reload_clip_time": "2.6",
    "l4d2_infected_marker_announce_type": "1",
    "l4d2_infected_marker_cooldown_time": "0.25",
    "l4d2_karma_kill_slowtime_on_couple": "3.0",
    "l4d2_karma_kill_slowtime_on_server": "5.0",
    "l4d2_ty_saveweapons_save_character": "1",
    "l4d2_snipermilitary_reload_clip_time": "1.8",
    "l4d2_spot_marker_instructorhint_icon": "icon_info",
    "l4d2_weapon_csgo_reload_clip_recover": "1",
    "l4d2_spot_marker_instructorhint_color": "200 200 200",
    "l4d2_spot_marker_instructorhint_enable": "1",
    "l4d2_ty_saveweapons_game_seconds_block": "60",
    "l4d2_karma_kill_no_fall_damage_on_carry": "1",
    "l4d_infectedbots_sm_zss_disable_gamemode": "6",
    "l4d_infectedbots_calculate_including_dead": "0",
    "l4d2_karma_kill_no_fall_damage_protect_from_incap": "1"
  }
}

Примеры кода

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