Skip to main content

Official Elarian Python SDK

Project description

Elarian Python SDK

The wrapper provides convenient access to the Elarian APIs.

Project Status: Still under ACTIVE DEVELOPMENT, APIs are unstable and may change at any time until release of v1.0.0.

PyPi version

Documentation

Take a look at the API docs here.

Install

You can install the package from pypi by running:

$ pip install elarian

Usage

from elarian import Elarian, Customer

elarian = Elarian(api_key="test_api_key", org_id="test_org", app_id="test_app_id")
customer = Customer(client=elarian, number="+254709759881")

await elarian.connect()

# get customer state
resp = await customer.get_state()

print(resp)

Development

$ git clone https://github.com/ElarianLtd/python-sdk.git
$ cd python-sdk
$ python setup.py

Run all tests:

Update the values in your tests/.env

$ cd tests
$ pytest

Issues

If you find a bug, please file an issue on our issue tracker on GitHub.

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

elarian-0.0.8.tar.gz (68.4 kB view hashes)

Uploaded Source

Built Distributions

elarian-0.0.8-py3.9.egg (79.7 kB view hashes)

Uploaded Source

elarian-0.0.8-py3-none-any.whl (81.9 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