Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: a3d046b322
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (17 sloc) 0.525 kB

Plivo Python Helper

Example code to make a call

#!/usr/bin/env python

import plivo

auth_id = 'XXXXXXXXXXXXXXXXXXXX'
auth_token = 'XXXXXXXXXXXXXXXXXXXXXXXXX'

p = plivo.RestAPI(auth_id, auth_token)

params = {'to': '121212121212',
'from': '1212121212',
'ring_url': 'http://example.com/ring_url'
'answer_url': 'http://example.com/answer_url',
'hangup_url': 'http://example.com/hangup_url'
}

response = p.make_call(params)
Jump to Line
Something went wrong with that request. Please try again.