ringcentral-chatbot-python-ext-world-time
Simple ringcentral chatbot python extension that add world time command support.
Table of contents
Use
Prerequisites
- Python3.6+ and Pip3
- Create the bot App: Login to developer.ringcentral.com and create an
publicServer/Botapp with permissions:ReadContacts, ReadMessages, ReadPresence, Contacts, ReadAccounts, SMS, InternalMessages, ReadCallLog, ReadCallRecording, WebhookSubscriptions, Glip
Quick start
# use virtualenv
pip3 install virtualenv # might need sudo
# init virtual env
virtualenv venv --python=python3
# use env
source ./venv/bin/activate
# install deps
pip install -r requirements.txt
# run ngrok proxy
# since bot need https server,
# so we need a https proxy for ringcentral to visit our local server
./bin/proxy
# will show:
# Forwarding https://xxxxx.ngrok.io -> localhost:8989
# create env file
cp .sample.env .env
# then edit .env, set proper setting,
# and goto your ringcentral app setting page, set OAuth Redirect URI to https://https://xxxxx.ngrok.io/bot-oauth
RINGCENTRAL_BOT_SERVER=https://xxxxx.ngrok.io
## for bots auth required, get them from your ringcentral app page
RINGCENTRAL_BOT_CLIENT_ID=
RINGCENTRAL_BOT_CLIENT_SECRET=
# create bot config
cp config.sample.py config.py
# run local dev server
./bin/start
Test bot
- Goto your ringcentral app's bot section, click 'Add to glip'
- Login to https://glip-app.devtest.ringcentral.com, find the bot by searching its name. Talk to the bot.
- Edit config.py to change bot bahavior and test in https://glip-app.devtest.ringcentral.com
License
MIT
Metadata
Release files for ringcentral-bot-framework-extension-world-time 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ringcentral_bot_framework_extension_world_time-0.2.0.tar.gz | 3.2 kB | Without provenance | Details for ringcentral_bot_framework_extension_world_time-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ringcentral_bot_framework_extension_world_time-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for ringcentral_bot_framework_extension_world_time-0.2.0-py3-none-any.whl |
Total release size: 8.2 kB
Release files / ringcentral_bot_framework_extension_world_time-0.2.0.tar.gz
| Download URL | ringcentral_bot_framework_extension_world_time-0.2.0.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b593f868e42460b4b9239423b38b8ada3056cf794136e7e280602d119e34b44c
|
|
BLAKE2b-256 checksum How to use checksums |
6aaad68ce9a2b93f5f53a7e059105fcb22ee5c139a12f0b86a225726d20710d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5
|
Release files / ringcentral_bot_framework_extension_world_time-0.2.0-py3-none-any.whl
| Download URL | ringcentral_bot_framework_extension_world_time-0.2.0-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
086cce65b81e6a062fc46aacab7d76cc894f49c95098d4e268ad9513dd847f3b
|
|
BLAKE2b-256 checksum How to use checksums |
ab9b804772700713ee4d8e53586c2bca88c59e61912daf49e9c63c0814136707
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5
|
Security for ringcentral-bot-framework-extension-world-time 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.