def download_as_json(url):
    """
    Download the data at the URL and load it as JSON
    """
    try:
        return Response('application/json', request(url=url)).read()
    except __HOLE__ as err:
        raise ResponseException('application/json', err)
dataset/ETHPy150Open haikuginger/beekeeper/beekeeper/comms.py/download_as_json