MTN Chenosis API
NB: Not affiliated with MTN's official Chenosis Platform (05 Jan 2023)
A python client for MTN's Chenosis platform: https://chenosis.io.
Installation
pip install chenosis
Usage
from chenosis.client import ChenosisClient
chenosis_client = ChenosisClient(
host="https://sandbox.api.chenosis.io", # Use live API when going to production
client_id="xxxxxx",
client_secret="yyyyyy"
)
# GET user's get_mobile_carrier_details
phone_number = "27123456789"
response = chenosis_client.get_mobile_carrier_details(phone_number=phone_number)
print(response)
# TODO: Put correct information
Reporting Issues:
You can open issues on the GitHub repository for library-level issues and contact Chenosis support for any issues with the API itself.
TODO List
- Update tests and readme examples with more response data once the chenosis sandbox/production is up and running (11 Feb 2023).
- Use pydantic for response models.
- Add more endpoints once POC is acceptable.
- Add more client methods.
- Add an async client.
Metadata
Release files for chenosis 0.1.0
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 |
|---|---|---|---|---|
| chenosis-0.1.0.tar.gz | 4.2 kB | Without provenance | Details for chenosis-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| chenosis-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for chenosis-0.1.0-py3-none-any.whl |
Total release size: 8.5 kB
Release files / chenosis-0.1.0.tar.gz
| Download URL | chenosis-0.1.0.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f25831226e33555be48fa3853dd9227192f49e6ddabc3307f0729ec9b4dee8e7
|
|
BLAKE2b-256 checksum How to use checksums |
8e310f80c3b3cd10b5a3cddf529e86ab0901a1d8645e8132519219685b76b915
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.15
|
Release files / chenosis-0.1.0-py3-none-any.whl
| Download URL | chenosis-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8966f6889dfa5dd7821429646da3fb0b8d05393a47ab0e1821091e5bce53f6cb
|
|
BLAKE2b-256 checksum How to use checksums |
d4b36565aaf14a59837ef027da64c087ad033583e66ef07ce2ee6edb2b4e5f4d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.15
|
Security for chenosis 0.1.0
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.