Skip to main content

SMSframework AfricasTalking Provider

Africa's Talking Provider for smsframework

Initialization

from smsframework import Gateway
from smsframework_africastalking import AfricasTalkingProvider

gateway = Gateway()
gateway.add_provider('africas_talking', AfricasTalkingProvider,
    username='sandbox',
    api_key='\*\*\*'
)

Config

  • username: str: Username for your Africa's Talking account, use sandbox for development Required
  • api_key: str: API key for your Africa's Talking account Required

Sending Parameters

Provider-specific sending params:

  • target_country: str: 2-digit ISO code of the country the phonenumber should be interpretted as from Required

Example:

from smsframework import OutgoingMessage

message = OutgoingMessage('+254789789789', 'Hello Kenya').params(target_country='KE')

gateway.send(message)

Additional Information

AfricasTalking SMS API also supports sending premium messages and receiving incoming messages. These features are not currently implemented in this provider.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

smsframework-africastalking-1.0.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

smsframework_africastalking-1.0.0-py3.6.egg (5.6 kB view details)

Uploaded Egg

smsframework_africastalking-1.0.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file smsframework-africastalking-1.0.0.tar.gz.

File metadata

  • Download URL: smsframework-africastalking-1.0.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7

File hashes

Hashes for smsframework-africastalking-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a4a92d87ae6ae51843e155f1186b071c91b6df7f5bcdb78faf9eafeac3bf9f48
MD5 c6d4158bea8506dd5d3eca13fe61e81d
BLAKE2b-256 f171e651213fa9e949e652f6eb1d386d259f95fb8357af26d347659bc417edb7

See more details on using hashes here.

File details

Details for the file smsframework_africastalking-1.0.0-py3.6.egg.

File metadata

  • Download URL: smsframework_africastalking-1.0.0-py3.6.egg
  • Upload date:
  • Size: 5.6 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7

File hashes

Hashes for smsframework_africastalking-1.0.0-py3.6.egg
Algorithm Hash digest
SHA256 2100a3486c1dceb3c97a52c8ee367198b2d35f09fcf510f9d715299345017bd1
MD5 5658247b8f9d78f2ea14a2be78af791b
BLAKE2b-256 dd1adc0b652570bedf39afda41c3f922cb666dc7a9b62f053b55a2b50f6897e2

See more details on using hashes here.

File details

Details for the file smsframework_africastalking-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: smsframework_africastalking-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7

File hashes

Hashes for smsframework_africastalking-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 64178aca3f0da536d858c9e98f240d1c24b370716c8a5e59a08567049d314d7c
MD5 7bc757c76ff0e0fd5e950246f476f9cd
BLAKE2b-256 67b8af42ef768fbaeddd4587587dc805e24697b1f3a0a428521db2ed4f311c51

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

This release

1.0.0 This release

3 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