Skip to main content

This packages aims to let you quickly send SMS from Python using the Orange SMS API.

Project description

Orange SMS API 📬

Made-In-Senegal

Orange SMS is a client library that allow you to send SMS with Python using the Orange SMS API

Disclaimer ⛔

This gem is not an official client of Orange, in order to use the client you need to create a Orange SMS API and to register an app in the developer dashboard that orange provide to you.
After registering your app you can ask for SMS integration approval (this process can take time :)
The registration process is detailed here

Instead of reading and trying to understand once again how the Orange SMS API work this gem aims to let you quickly send SMS from Python using the Orange SMS API.

Install 📥

Via PIP

python -m pip install orange-sms-client

Usage ✅

  1. Copy your client id here (if you have already create an app)
  2. generate token with getToken function
  3. send sms with sendSMS function

Exemple : usageExample.py

Python 🐍

clientID="your clientID"
token = getToken(clientID)
senderAdress = "+2210000"
address = "+221{{receiver}}"
sendSMS(senderAddress, receiverAddress, "message", token)

Contributing 🤝

Bug reports and Pull Requests are welcome 👋🏽
You can tell me HERE

License 🔖

This project is under MIT License.

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

orangesms-0.0.1.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

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

orangesms-0.0.1-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

Details for the file orangesms-0.0.1.tar.gz.

File metadata

  • Download URL: orangesms-0.0.1.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for orangesms-0.0.1.tar.gz
Algorithm Hash digest
SHA256 01abc078344b6a5c8cb59e60129d971bb11610cc9f70bb8c8cfd90a934009e98
MD5 e84bcc128d9d702ea9f12ef76f6f543e
BLAKE2b-256 569414053cde92b7dbbef94657456a0d7681b446c725876bee8ad3102a0bcf3e

See more details on using hashes here.

File details

Details for the file orangesms-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: orangesms-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for orangesms-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5b0bb85d8f447270b86702f0f1d4fa320c7d8937fed53a847536768cfad30f35
MD5 e5f107ef6d83235f3846fc6258b5ffb8
BLAKE2b-256 fad5118d6d68bf259e5693bd1deb27d443b7a20abad0feaa42e2a1ac412b5265

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page