Simple Python API wrapper for RingCentral Engage Digital api. api docs.
pip3 install ringcentral_engage_voice
# or
pip install ringcentral_engage_voice
from ringcentral_engage_digital import RestClient
rc = RestClient(
RINGCENTRAL_ENGAGE_API_TOKEN,
RINGCENTRAL_ENGAGE_SERVER_URL
)
r = rc.get('/1.0/roles')
assertEqual(len(r.json['records']) > 0, True)
With virtaul env, make sure you have pip3 and python3.6+
bin/init
source venv/bin/activate
cp .sample.env .env
# edit .env fill all fields
bin/test
Without virtaul env, make sure you have pip3 and python3.6+
pip3 install -r requirements-dev.txt
pip3 install -r requirements.txt
cp .sample.env .env
# edit .env fill all fields
bin/test
Based on Tyler's https://github.com/tylerlong/ringcentral-python.
MIT