Skip to content

Authenticate and access RingCentral platform services using Python native API.

Notifications You must be signed in to change notification settings

ringcentral-tutorials/call-ringcentral-apis-native-python-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages