Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

RingCentral Engage Voice client Python

Project description

RingCentral Engage Voice API wrapper for Python

Build Status

API docs.



pip install ringcentral_engage_voice


from ringcentral_engage_voice import RingCentralEngageVoice
# create from ringcentral app client id /secret
# you can create app from
ev = RingCentralEngageVoice(
# auth with password flow
  username = 'USERNAME',
  password = 'PASSWORD',
  extension = 'EXTENSION' # optional
# // can also auth with auth code flow
# // check for more detail
  code = 'xxxx',
  redirectUri = 'yyyyyy'

# get access token, will expire in 5 minutes
token = ev.token['accessToken']

# // api request
# // check all api doc from
r = ev.get('/api/v1/admin/accounts')
assertEqual(len(r.json()) > 0, True)

For legacy server use:

from ringcentral_engage_voice import RingCentralEngageVoice

# LEGACY_SERVER could be
# '',
# or  ''
ev = RingCentralEngageVoice(
  server = process.env.LEGACY_SERVER

# only support username/password auth
await ev.authorize({
  username = process.env.LEGACY_USERNAME,
  password = process.env.LEGACY_PASSWORD

# api request
# check all api doc from
let r = ev.get('/api/v1/admin/accounts')
r = r.json()
expect(len(r) > 0).toBe(true)

# revoke api token

Instance methods

    params = None,
    json = None,
    data = None,
    files = None,
    multipart_mixed = False,
    headers = None

ev.get(endpoint, params = None), json = None, params = None, data = None, files = None, multipart_mixed = False)

ev.put(endpoint, json = None, params = None, data = None, files = None, multipart_mixed = False)

ev.patch(endpoint, json = None, params = None, data = None, files = None, multipart_mixed = False)

ev.delete(endpoint, params = None)


source venv/bin/activate
pip install -r requirements.txt
cp env-sample.env .env
# edit .env fill all fields


Based on Tyler's



Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ringcentral-engage-voice, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size ringcentral_engage_voice-0.3.0-py3-none-any.whl (5.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size ringcentral_engage_voice-0.3.0.tar.gz (4.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page