Metadata-Version: 2.1
Name: vivialconnect
Version: 0.2.2
Summary: Vivial Connect API Client Library for Python
Home-page: https://www.vivialconnect.net/
Author: Vivial Connect
Author-email: support@support.vivialconnect.net
License: MIT
Keywords: vivial,vivialconnect
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Topic :: Communications :: Telephony
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: requests (>=1.0.0)
Requires-Dist: six

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``


.. code:: python

    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:

.. code:: bash

    $ pip install vivialconnect
    $ python example.py

Links
-----

* `Website <https://www.vivialconnect.net/>`_
* `Documentation <https://www.vivialconnect.net/docs/>`_
* `Development Version
  <https://github.com/vivialconnect/vivialconnect-python>`_


