XSELLCO-API Python Wrapper
This project provides a Python wrapper for interacting with the Repricer.com (aka Xsellco) API, simplifying the integration of Repricer.com's API features into Python applications. It offers both synchronous and asynchronous support to accommodate different programming needs, thanks in part to the httpx library. Detailed API documentation can be found at eDesk Developers.
Getting Started
These instructions will give you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on deploying the project on a live system.
Installing
pip install xsellco_api
For Developing:
Clone the repository and install requirements-dev.txt:
Usage
The library provides both synchronous (sync) and asynchronous (async_) interfaces for interacting with the Repricer.com API. Below are examples of how to use each interface:
Synchronous Usage
from xsellco_api.sync import Repricers
repricer = Repricers(user_name='your_username', password='your_password')
repricer_data = repricer.get_report()
print(repricer_data) # list of dictionaries
# or
# All classes support context manager usage
with Repricers(user_name='your_username', password='your_password') as repricer:
repricer_data = repricer.get_report()
print(repricer_data) # list of dictionaries
Asynchronous Usage
import asyncio
from xsellco_api.async_ import AsyncRepricers
async def main():
async with AsyncRepricers(user_name='your_username', password='your_password') as repricer:
repricer_data = await repricer.get_report()
print(repricer_data)
asyncio.run(main())
Deprecation Notice
Please note that the xsellco_api.api module is deprecated and will be removed in future versions. Users are encouraged to switch to the sync or async_ modules for continued support.
License
Metadata
Release files for xsellco-api 0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| xsellco_api-0.0.9.tar.gz | 12.2 kB | Without provenance | Details for xsellco_api-0.0.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| xsellco_api-0.0.9-py3-none-any.whl | Python 3 | none | any | Details for xsellco_api-0.0.9-py3-none-any.whl |
Total release size: 28.2 kB
Release files / xsellco_api-0.0.9.tar.gz
| Download URL | xsellco_api-0.0.9.tar.gz |
|---|---|
| Size | 12.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1aa61bde9e16b4ec85fe9b7b8a30b6f34958a7f97e5d51ff3a92ee097157da52
|
|
BLAKE2b-256 checksum How to use checksums |
3ff56594b06a9f9e3f5ec2244199f72a590348cb001c1bea675efbd129a52266
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / xsellco_api-0.0.9-py3-none-any.whl
| Download URL | xsellco_api-0.0.9-py3-none-any.whl |
|---|---|
| Size | 16.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ed80ce6dd494b4c692c6ee58c9808cf21780fb2a55f617e02c13415180b78702
|
|
BLAKE2b-256 checksum How to use checksums |
9fb685c2fb498ed181a9f5fb301cae18a50d873bea42af550c680cdccaf7d98f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Security for xsellco-api 0.0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.