h2integrate.resource.utilities.download_tools#
Functions
|
Download data from url and save it to filename. |
- h2integrate.resource.utilities.download_tools.download_from_api(url, filename)#
Download data from url and save it to filename.
- Parameters:
url (str) -- The API endpoint to return data from.
filename (str) -- The filename where data should be written.
- Returns:
bool -- True if data was downloaded file successfully, False if encountered error.