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.2.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.2-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: orangesms-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 f9e64747cae36fa66534046560ed0d0945245d9b4f92eae43bb245c6f98db34b
MD5 0ab5faabdcd0be821cfdafb2244199c2
BLAKE2b-256 76560977517f11d029c732a68f616bbb1763d9c992595fd3d94b41861829d498

See more details on using hashes here.

File details

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

File metadata

  • Download URL: orangesms-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 654f184965d711378d3806161b9be06a2c2ce1f27ac258f934edf4ad11739ebd
MD5 82680f6180f8154578ece435708c4080
BLAKE2b-256 7b0aac0dad48660704e7b8487df762952ff2f9a917dc842d2c49c89cad832902

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