Skip to main content

Simple Stuff

Usage

  • import library
  • create library instance using your email and password
  • authenticate client
  • make requests

Unauthenticated requests will fail. Authentication 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("email", "password")

# Authenticate Client
client.authenticate()

# Get Account Information
client.account_information()

# Send single sms
client.send_sms(message="Hi. How are you?", receiver="263XXXXXXXXX", sender_id="Tumai")

# Send bulk sms
client.send_bulk_sms(message="Hi. How are you?", receivers=["263XXXXXXXXX", "263XXXXXXXXX"], sender_id="Tumai")

# Send Email
client.send_email(body="Hi. How are you?", setting_id="UUID", receiver_email="email", subject="Greetings")

# Send Bulk Emails
client.send_bulk_email(body="Hi. Hello everyone. We are testing messaging!", setting_id="UUID", recipients=["me@gmail.com", "i@gmail.com"], subject="Testing Tumai")

Process Flow

flowchart TD
    A[Use IntelliAfrica Solutions Gateway Python Client] --> B[Create Instance];
    B --> C[Authenticate Client];
    C --> D{Authenticated?};
    D -- Yes --> E[Process Request];
    D -- No --> F[Raise Exception]

Release files for intelli-gateway 0.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for intelli-gateway 0.0.8
File Size Uploaded
intelli_gateway-0.0.8.tar.gz 4.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for intelli-gateway 0.0.8
File Interpreter ABI Platform
intelli_gateway-0.0.8-py3-none-any.whl Python 3 none any Details

Total release size: 8.3 kB

Release files / intelli_gateway-0.0.8.tar.gz

Download URL intelli_gateway-0.0.8.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7d0fc12b8c27bb0958451a4cc3da802604b2ccd7deb1c126cad4ef75a0a8a2dc
BLAKE2b-256 checksum
How to use checksums
46abd625a98f330b9ae2e484f952257a8c7087089e3261372d8ddc26ef5abbe5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

Release files / intelli_gateway-0.0.8-py3-none-any.whl

Download URL intelli_gateway-0.0.8-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6662ffe0e9769b3f8d6b26c4de06251a22d01a8bd0a575d4f6190d78d12e9d66
BLAKE2b-256 checksum
How to use checksums
dd4d317921e3f6950fd638ee6fa81d7fc22d69e8f84cd8e7073df33100b5e6aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.0.8 This release

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

3 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page