Package for send sms by Zenvia API
To use it is necessary to set two environment variables, one for the authentication key of Zenvia and another to set BASE_URL. The BASE_URL must be set because you can test the messages in a Zenvia test url
- Python version 3.4, 3.5 or 3.6
- Your account and password
$ pip install pyzenvia
from pyzenvia import Sender
sender = Sender(account, password)
response = sender.send(phone, message)
print(response['success'])
print(response['result'])