import requests


def download(overpass_query):
    """
    Download OSM via Overpass API

    Parameters
    ----------
    overpass_query : string
        Customized overpass API

    Returns
    -------
    JSON
    """
    overpass_url = "http://overpass-api.de/api/interpreter"
    response = requests.get(overpass_url, params={'data': overpass_query})
    osm_json = response.json()

    return osm_json