Orange SMS API 📬

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 ✅
- Copy your client id here
(if you have already create an app)
- generate token with
getToken
function - 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.