No project description provided
Project description
CA API Wrapper
The ca_api_wrapper
is a Python package that simplifies interacting with the ChannelAdvisor API. It provides a straightforward, object-oriented approach to accessing ChannelAdvisor's features, such as managing products, orders, and exports, making it easier for developers to integrate ChannelAdvisor services into their applications.
Features
- Easy Authentication: Simplify the process of authenticating with the ChannelAdvisor API.
- Product Management: Easily list, retrieve, and update product information.
- Order Processing: Fetch and update orders with minimal hassle.
- Export Utilities: Access export functionalities provided by ChannelAdvisor.
- Error Handling: Robust error handling to gracefully manage API exceptions.
Installation
Install ca_api_wrapper
using pip:
pip install ca_api_wrapper
Quick start
Here's a quick example to get you started with the ca_api_wrapper:
from ca_api_wrapper.api.client_registry import ClientsFactory
# User provides their own credentials
access_token = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-1234"
default_profile_id = 12345678
secondary_profile_id = 12345679
factory = ClientsFactory(access_token, default_profile_id, secondary_profile_id)
product_client = factory.product_client
response = product_client.products.get_by_id(11111111)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ca_api_wrapper-2.0.8.tar.gz
(7.0 kB
view hashes)
Built Distribution
Close
Hashes for ca_api_wrapper-2.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ef07b5d34a6f86f2ea2b1b75f1bbb202e55a2b98e98e821e32f41c2021ebe6d |
|
MD5 | 5f205b0fcf3709b85681c7843c33795c |
|
BLAKE2b-256 | 8161f050ff28c7715e682a42327b548291977c80db93b66704995d0f6bfca0b5 |