Skip to main content

No project description provided

Project description

Documentation Status

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


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.9.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ca_api_wrapper-2.0.9-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file ca_api_wrapper-2.0.9.tar.gz.

File metadata

  • Download URL: ca_api_wrapper-2.0.9.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.12 Linux/5.15.133.1-microsoft-standard-WSL2

File hashes

Hashes for ca_api_wrapper-2.0.9.tar.gz
Algorithm Hash digest
SHA256 2354ceef0f95bb31ba98cede5d28e9720db0255a307860114b4ee24d71770066
MD5 ac214f44a4b8213a9ac0767cb37b1138
BLAKE2b-256 4f1c09da47b2c8f4b064cf0532b7c882fc380f8be91b87f7102cbcba849c577d

See more details on using hashes here.

File details

Details for the file ca_api_wrapper-2.0.9-py3-none-any.whl.

File metadata

  • Download URL: ca_api_wrapper-2.0.9-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.12 Linux/5.15.133.1-microsoft-standard-WSL2

File hashes

Hashes for ca_api_wrapper-2.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 577c098bcb87bad1bdd2e209cd5247e05291618430540a865e2b7a2c8831e7a8
MD5 0135ba2be0dd866ac1ca2aa9a851d6f6
BLAKE2b-256 3174a214b7a4935917756724bdc4e7da98b1f16192ec746eddc81136ca555109

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page