Skip to content
This repository has been archived by the owner on Dec 3, 2021. It is now read-only.

masaar/unifonic-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Obsolete

This is mirror of Unifonic obsolete Python SDK, kept online for legacy reasons. Nextgen SDK is available at https://github.com/masaar/unifonic_python_sdk/

SMS-Voice-PythonSDK

Installation

Download the source code and then run:

python setup.py install

Example

Here is the example to Use Message API

from otsdc.rest.client import OTSRestClient
from otsdc.url.http_url import HttpOTSUrl

client = OTSRestClient(appSid='yourAppSid')

acct = client.accountResource
(stat,resp) = acct.getBalance()
print(stat)
print(resp)

msg = client.messageResource
(stat,resp) = msg.send('9627xxxxxxx', 'Content Msg')
print(stat)
print(resp)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages