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.
-
auth
¶ Return the requests authentication dictionary.
-
cart_api_url
¶ Return the CartAPI URL.
-