@run_if('GOOGLE_APPS')
def download_file(file_metadata):

    service = Service(settings.GOOGLE_P12_PATH,
                      settings.GOOGLE_SERVICE_EMAIL)
    mimetype = file_metadata['mimeType']
    title = file_metadata['title']
    return service.get_file_content(file_metadata['id']), title, mimetype
Download a file from a google drive folder.
dataset/ETHPy150Open unlimitedlabs/orchestra/orchestra/google_apps/convenience.py/download_file