Skip to main content

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for vivialconnect, version 0.2.4
Filename, size File type Python version Upload date Hashes
Filename, size vivialconnect-0.2.4-py3-none-any.whl (25.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size vivialconnect-0.2.4.tar.gz (20.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page