Vivial Connect API Client Library for Python
Project description
VivialConnect is a simple SMS/MMS API. It’s designed specifically for developers seeking a simple, affordable and scalable messaging solution.
Register an API account here: https://www.vivialconnect.net and login to the website to buy your first phone number.
Setup is Easy!
Copy this code into a file named example.py
from vivialconnect import Resource, Message
Resource.api_key = "my-api-key"
Resource.api_secret = "my-api-secret"
Resource.api_account_id = "123456"
def send_message(to_number=None, from_number=None, body=None):
message = Message()
message.from_number = from_number
message.to_number = to_number
message.body = body
message.send()
send_message(to_number='+11234567890',
from_number='+19876543210',
body='Howdy, from Vivial Connect!')
Update the API key, secret and account id. Change ‘from_number’ to the number you purchased. Then run it:
$ pip install vivialconnect
$ python example.py
Links
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
vivialconnect-0.2.3.tar.gz
(18.4 kB
view hashes)
Built Distribution
Close
Hashes for vivialconnect-0.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1362556649ba97579fd1a953dc89aadef188e6e70dafd2493e88ea7d6cdb983 |
|
MD5 | 4c9acb523cc3b8ce9472994092b0b7de |
|
BLAKE2b-256 | bb9005b41f6e360671b579bd17dc7ce6322d6f7e52ea00e959f8f8eb985cada7 |