Python library for utilizing services offered on the Intelli Africa Gateway
Project description
Simple Stuff
Usage
- import library
- create library instance using your email and password
- authenticate client
- make requests
Unauthenticated requests will fail. Authenticate does not need to be done everytime when one wants to make a request, it can be done once and works across all requests.
Sample Code
from intelli_gateway.gateway_client import GatewayClient
client = GatewayClient("snlv@people.com", "snlv")
# Authenticate Client
client.authenticate()
# Get Account Information
client.account_information()
# Send single sms
client.send_sms(message="Hello Wangu", receiver="263777213388", sender_id="IAS")
# Send bulk sms
client.send_bulk_sms(message="Hello Vakuru", receivers=["263777213388", "263775810157"], sender_id="Tumai")
# Send Email
client.send_email(body="Hi hallo", setting_id="2819bdaa-6035-4e45-9d93-ce5d3724ec52", receiver_email="ngoni.mangudya@intelliafrica.solutions", subject="Testing")
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
intelli_gateway-0.0.3.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for intelli_gateway-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae671217e7c8742c91c060e19e95512c5195a8ac17834f7cc5035dd9871f454a |
|
MD5 | aae33b818b0b57e2e36de67d0087905e |
|
BLAKE2b-256 | 6c77898d785fce8361f86ddf372232144a19e6ff2662b696cfd7f6a348eb804b |