Skip to content

About

Authenticate and access RingCentral platform services using Python native API.

Resources

Stars

0 stars

Watchers

5 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

How to authenticate and access RingCentral platform services using Python native API.

RingCentral Platform

RingCentral Platform is a rich RESTful API platform with more than 60 APIs for business communication includes advanced voice calls, chat messaging, SMS/MMS and Fax.

Clone and Setup the project

$ git clone https://github.com/ringcentral-tutorials/call-ringcentral-apis-native-python-demo

$ cd call-ringcentral-apis-native-python-demo

$ pip install python-dotenv

$ cp environment/dotenv-sandbox environment/.env-sandbox

$ cp environment/dotenv-production environment/.env-production

Create an app

  • Create an application at RingCentral Developer Portal.
  • Select Server-only (No UI) for the Platform type.
  • Add the ReadAccounts and SMS permissions for the app.
  • Copy the Client id and Client secret and add them to the .env-[environment] file.
RC_CLIENT_ID=
RC_CLIENT_SECRET=
  • Add the account login credentials to the .env-[environment] file.
RC_USERNAME=
RC_PASSWORD=
RC_EXTENSION=

If you don't know how to create a RingCentral app. Click https://developer.ringcentral.com/library/getting-started.html for instructions.

Run the demo

Set ENVIRONMENT=sandbox in the .env file to run in the sandbox environment.

Set ENVIRONMENT=production in the .env file to run in the production environment.

$ python demo.py

RingCentral Developer Portal

To setup a free developer account, click here

About

Authenticate and access RingCentral platform services using Python native API.

Resources

Stars

0 stars

Watchers

5 watching

Forks

Releases

Packages

Contributors

Languages