CartAPI Python Module¶
Cart API module for interacting with carts.
-
class
pacifica.downloader.cartapi.CartAPI(**kwargs)[source]¶ Cart api object for manipulating carts.
This class has two methods used for setting up a cart and waiting for completion.
-
__init__(**kwargs)[source]¶ Constructor for cart api.
The constructor takes a required URL to the Cart API. Optionally, there can be passed a requests session via keyword arguments. Also, an optional requests authentication dictionary can be passed via keyword arguments.
-
_addr= None¶
-
_auth= None¶
-
_cart_api_url= None¶
-
_extra_args= None¶
-
_port= None¶
-
_proto= None¶
-
auth¶ Return the requests authentication dictionary.
-
cart_api_url¶ Return the CartAPI URL.
-