Downloader Python Module¶
The Downloader internal Module.
Downloader(location, cart_api_url, **kwargs)¶
The constructor takes two arguments location and cart_api_url. The location is a download directory to be created by a download method. The cart_api_url is the endpoint for creating carts.
The other methods in this class are the supported download methods. Each method takes appropriate input for that method and the method will download the data to the location defined in the constructor.
__init__(location, cart_api_url, **kwargs)¶
Create the downloader given directory location.
list of weak references to the object (if defined)
Download the cart from the url.
The cart url is returned from the CartAPI.
Handle a cloud event and download the data in a cart.