Skip to content

zenvia/pyzenvia

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyZenvia

Build Status Code Health Coverage Status

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

Installation

Prerequisites

  • Python version 3.4, 3.5 or 3.6
  • Your account and password
$ pip install pyzenvia

Usage

from pyzenvia import Sender
sender = Sender(account, password)
response = sender.send(phone, message)
print(response['success'])
print(response['result'])

About

Package for send sms by Zenvia API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%