Git Product home page Git Product logo

call-ringcentral-apis-native-python-demo's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.