-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
63 lines (40 loc) · 1.17 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
from setuptools import setup, find_packages
setup(
# Application name:
name="exotel",
# Version number (initial):
version="0.1.5",
# Application author details:
author="sarath",
author_email="[email protected]",
# Packages
packages=find_packages(),
# Details
url="https://github.com/sarathsp06/exotel-py",
download_url = 'https://github.com/sarathsp06/exotel-py/archive/v0.1.5.tar.gz',
license="LICENSE.txt",
description="Python SDK for Exotel API[Unofficial]",
long_description="""
exotel-py
---------
Python module for exotels call and sms api's
installation
~~~~~~~~~~~~
``pip install exotel``
Usage
-----
- Initialize
``from exotel import Exotel``
``client = Exotel(sid,token)``
- make call to connect a number to another
``client.call_number('from_number','exophone','to_number')``
- make call to connect a number to a flow
``client.call_flow('from_number','exophone','flow_id')``
- send an sms
``client.sms('from_number',to_number',"sms_body")``
- get details of an sms
``client.sms_details('sms_sid')``
- get details of a call
``client.call_details('call_sid')``
"""
)