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.4.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

redxclient-0.2.4-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

Supported by

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