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

text
https://api.gamemonitoring.ru/servers/11257984
json
{
  "response": {
    "add_date": 1774555065,
    "app": {
      "id": 11,
      "name": "Left 4 Dead 2",
      "steam_id": 550,
      "url": "left-4-dead-2"
    },
    "color": 0,
    "connect": "43.249.194.250:27037",
    "country": "CN",
    "domain": null,
    "game": 550,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 11257984,
    "ip": "43.249.194.250",
    "language": "zh",
    "last_update": 1793029604,
    "map": "l4d2_tank_challenge",
    "maxplayers": 16,
    "name": "「天域国度」-炼狱RPG渡劫服#1",
    "numplayers": 0,
    "official": null,
    "points": 30,
    "port": 27037,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27037,
    "request": "43.249.194.250:27037",
    "secured": false,
    "status": true,
    "steam_id": "90295801141028882",
    "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": 1790254842,
    "last_online": 1793029604,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 9028,
    "wipe_period": null,
    "god": "0",
    "coop": "0",
    "buddha": "0",
    "sv_tags": "",
    "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",
    "a4d_version": "2.0.0",
    "environment": "l",
    "l4d2_lw_awp": "1",
    "mp_teamlist": "hgrunt;scientist",
    "mp_teamplay": "0",
    "mp_winlimit": "0",
    "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",
    "l4d2_lw_g3sg1": "1",
    "l4d2_lw_scout": "1",
    "l4d2_text_msg": "1",
    "mp_falldamage": "0",
    "mp_flashlight": "1",
    "mp_freezetime": "6",
    "mp_limitteams": "2",
    "mp_tournament": "0",
    "mp_weaponstay": "0",
    "sv_specnoclip": "1",
    "sv_steamgroup": "21857674,1016724,6771126,8711546,9082984,4919175,887609,8094615,6032894,2100201,1184541,1895850,33594087,1895850,2100201,1927407,482,883,1154,125662,3483,4984,31572,1440535,110651,371427,554109,554111,554117,584833,589695,596657,600445,603063,606267,6109",
    "decalfrequency": "10",
    "l4d2_PZDmg_msg": "0",
    "l4d2_crash_Log": "1",
    "mp_fadetoblack": "0",
    "survivor_limit": "4",
    "sv_noclipspeed": "5",
    "sv_voiceenable": "1",
    "tauntfrequency": "1",
    "choose_bot_data": "0",
    "l4d2_crash_type": "1",
    "l4d2_storm_post": "-0.25",
    "l4d2_storm_time": "-1",
    "metamod_version": "1.12.0-dev+1194V",
    "mp_forcerespawn": "1",
    "mp_friendlyfire": "1",
    "l4d2_server_cvar": "0",
    "l4d2_storm_allow": "1",
    "l4d2_storm_mixer": "1",
    "l4d2_storm_modes": "",
    "l4d2_storm_style": "1",
    "mp_autocrosshair": "1",
    "players_complete": true,
    "sc_record_detail": "1",
    "stripper_version": "1.2.2",
    "sv_airaccelerate": "10",
    "sv_waterfriction": "1",
    "tv_relaypassword": "0",
    "defib_fix_version": "2.0.1",
    "give_item_version": "1.0.0",
    "l4d2_crash_System": "1",
    "l4d2_lw_shootonce": "0",
    "l4d2_player_death": "0",
    "l4d2_storm_random": "1",
    "r_JeepViewZHeight": "10.0",
    "sourcemod_version": "1.12.0.7230",
    "sv_noclipfriction": "4",
    "sv_specaccelerate": "5",
    "bullet_trails_life": "0.8",
    "bullet_trails_smgs": "1",
    "l4d2_crash_Command": "10",
    "l4d_scs_auto_model": "1",
    "mp_autoteambalance": "1",
    "sm_aidmgfix_enable": "3",
    "bullet_trails_width": "1.0",
    "l4d2_addons_eclipse": "-1",
    "l4d2_lw_laseroffset": "36",
    "l4d2_lw_lethalforce": "500.0",
    "l4d_csm_admin_flags": "",
    "l4d_scs_tab_hud_bar": "1",
    "left4dhooks_version": "1.166",
    "map_changer_version": "1.0.5",
    "mp_stalemate_enable": "0",
    "r_VehicleViewDampen": "1",
    "sm_acdetect_version": "1.1.0",
    "sv_noclipaccelerate": "5",
    "tf_arena_max_streak": "5",
    "tf_arena_round_time": "0",
    "bullet_trails_offset": "36",
    "bullet_trails_rifles": "1",
    "director_afk_timeout": "45",
    "l4d2_lw_huntingrifle": "1",
    "l4d2_lw_lethalweapon": "2",
    "l4d2_storm_modes_off": "",
    "l4d2_storm_modes_tog": "0",
    "r_AirboatViewZHeight": "0.0",
    "r_JeepViewDampenDamp": "1.0",
    "r_JeepViewDampenFreq": "7.0",
    "bullet_trails_enabled": "1",
    "bullet_trails_pistols": "1",
    "bullet_trails_snipers": "1",
    "l4d_csm_in_transition": "1",
    "bullet_trails_shotguns": "1",
    "command_buffer_version": "2.8",
    "l4d2_player_disconnect": "0",
    "tf_arena_preround_time": "10",
    "weaponhandling_version": "1.0.6",
    "bullet_trails_wing_size": "3.0",
    "l4d2_defibrillator_used": "0",
    "l4d2_nativevote_version": "0.2",
    "l4d_info_editor_version": "1.26",
    "r_AirboatViewDampenDamp": "1.0",
    "r_AirboatViewDampenFreq": "7.0",
    "wh_use_incap_cycle_cvar": "1",
    "bullet_trails_admin_only": "0",
    "bullet_trails_wing_width": "0.3",
    "l4d_TankAntiStuck_enable": "1",
    "mp_disable_respawn_times": "0",
    "mp_teams_unbalance_limit": "1",
    "bullet_trails_melee_range": "300",
    "bullet_trails_melee_speed": "16",
    "l4d2_ladder_patch_version": "1.1",
    "l4d2_player_incapacitated": "0",
    "mp_stalemate_at_timelimit": "0",
    "wh_deploy_animation_speed": "-1",
    "bullet_trails_melee_radius": "130",
    "bullet_trails_wing_enabled": "1",
    "witch_target_patch_version": "1.4",
    "bullet_trails_crown_enabled": "1",
    "bullet_trails_melee_enabled": "1",
    "l4d2_enabled_safeRoomDoor_a": "1",
    "l4d2_enabled_safeRoomDoor_b": "1",
    "l4d2_enabled_safeRoomDoor_c": "5",
    "l4d2_enabled_safeRoomDoor_d": "1",
    "l4d2_enabled_safeRoomDoor_e": "5",
    "l4d2_enabled_safeRoomDoor_f": "2.0",
    "wh_double_pistol_cycle_rate": "0",
    "bullet_trails_melee_cooldown": "0.3",
    "bullet_trails_random_enabled": "1",
    "bullet_trails_melee_turnspeed": "7",
    "l4d2_enabled_away_from_server": "1",
    "l4d_TankAntiStuck_dest_object": "1",
    "l4d_TankAntiStuck_rusher_dist": "2000",
    "mapchanger_finale_change_type": "12",
    "l4d_TankAntiStuck_apply_convar": "1",
    "l4d_TankAntiStuck_idler_punish": "1",
    "l4d_TankAntiStuck_idler_radius": "10",
    "transition_restore_fix_version": "1.2.5",
    "charger_collision_patch_version": "2.0",
    "l4d_TankAntiStuck_all_intellect": "1",
    "l4d_TankAntiStuck_rusher_punish": "1",
    "mapchanger_finale_failure_count": "999",
    "aggresive_specials_patch_version": "1.3",
    "l4d2_enabled_away_timer_keyboard": "8.0",
    "l4d2_enabled_away_timer_specnext": "3.0",
    "l4d_TankAntiStuck_check_interval": "6",
    "l4d_TankAntiStuck_inst_tele_dist": "50",
    "l4d_TankAntiStuck_non_angry_time": "15",
    "mapchanger_finale_random_nextmap": "0",
    "l4d_TankAntiStuck_head_height_max": "150",
    "l4d_TankAntiStuck_head_height_min": "80",
    "l4d_TankAntiStuck_idler_minplayers": "2",
    "l4d_TankAntiStuck_non_stuck_radius": "15",
    "l4d_TankAntiStuck_smooth_tele_dist": "150",
    "l4d_TankAntiStuck_idler_check_times": "3",
    "l4d_TankAntiStuck_rusher_minplayers": "2",
    "l4d_TankAntiStuck_smooth_tele_power": "300",
    "l4d_TankAntiStuck_tank_distance_max": "1500",
    "l4d_revive_reload_interrupt_version": "1.0",
    "l4d_TankAntiStuck_rusher_check_times": "3",
    "l4d_TankAntiStuck_idler_check_interval": "7",
    "l4d_TankAntiStuck_rusher_check_interval": "10"
  }
}

Примеры кода

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