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.

Source Distribution

vivialconnect-0.2.4.tar.gz (20.3 kB view details)

Uploaded Source

Built Distribution

vivialconnect-0.2.4-py3-none-any.whl (25.6 kB view details)

Uploaded Python 3

File details

Details for the file vivialconnect-0.2.4.tar.gz.

File metadata

  • Download URL: vivialconnect-0.2.4.tar.gz
  • Upload date:
  • Size: 20.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2

File hashes

Hashes for vivialconnect-0.2.4.tar.gz
Algorithm Hash digest
SHA256 98bb3d303331ca58060fd7e70a51fd6933e91d46d13c27f77bebf9f174926c28
MD5 992297bad68905bd1a5a1c7fc79e3ffd
BLAKE2b-256 90c69e2b673df3d6d30d3360671ccc4859c45f6cddeba4f6d406614ec2ab80f0

See more details on using hashes here.

File details

Details for the file vivialconnect-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: vivialconnect-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 25.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2

File hashes

Hashes for vivialconnect-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 188c62754da29c197d80d4dde5b41e01cf6eeeeaaef7e37ad8828a11ad8191e3
MD5 957f213475af253b455c133ba46c9cce
BLAKE2b-256 58d4ed22ea3322e09b9987fe805b997d85a3430e9a401106db557725a9d70a74

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page