Skip to main content

A Python Client for RedX Courier Service

Project description

RedXClient

coverage

A Pydantic-powered client for the RedX Courier service's API.

Features

- Support for all public API endpoints
- Responses are returned as Pydantic models, making it easy to work with the data.
- Properly type-hinted for optimal IDE support and DX.

Installation

pip install redxclient

Usage

from redxclient import RedXClient

client = RedXClient(api_key="your_api_key") # You can pass the base_url as well, by default it uses the sandbox url

parcel = client.get_parcel_details("parcel_id")
print(parcel)

You can find all the schemas in the schema module of the package.

Development

To install the development version, clone the repository and install the package in editable mode:

git clone
cd redxclient
pdm sync -d

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

redxclient-0.2.2.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

redxclient-0.2.2-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file redxclient-0.2.2.tar.gz.

File metadata

  • Download URL: redxclient-0.2.2.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.13.2 CPython/3.10.14 Linux/5.4.109+

File hashes

Hashes for redxclient-0.2.2.tar.gz
Algorithm Hash digest
SHA256 5f8188cfff6c00bb9d80ab511e3f0455647b65d832506a1baa7521e0140c9998
MD5 78ac6c485a1212c666d3e79a1c259c6e
BLAKE2b-256 98e2862c0e50d3f8161d125fa870756c7a7dbafded4d322809ac4efaaa92697f

See more details on using hashes here.

File details

Details for the file redxclient-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: redxclient-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.13.2 CPython/3.10.14 Linux/5.4.109+

File hashes

Hashes for redxclient-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 37c588f48fde1d99f72df53f2e14f1212c722a00bc1dc3c120488b10bd9fc600
MD5 db07c8548ad808c413a575329296aaec
BLAKE2b-256 6250d0f39890e2fa8d1483880f6446b69290a84bbcea76831a93d940616977a0

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