简单的ringcentral chatbot框架python扩展,添加了“world time”命令支持。

ringcentral-bot-framework-extension-world-time的Python项目详细描述


ringcentral-chatbot-python-ext-world-time

简单的ringcentral chatbot python扩展,添加了world time命令支持。

screen

目录

使用

Use/write extensions

先决条件

  • python3.6+和pip3
  • 创建bot应用程序:登录到developer.ringcentral.com,并创建具有以下权限的publicServer/Bot应用程序:ReadContacts, ReadMessages, ReadPresence, Contacts, ReadAccounts, SMS, InternalMessages, ReadCallLog, ReadCallRecording, WebhookSubscriptions, Glip

快速启动

# use virtualenv
pip3 install virtualenv # might need sudo# init virtual env
virtualenv venv --python=python3

# use envsource ./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-oauthRINGCENTRAL_BOT_SERVER=https://xxxxx.ngrok.io

## for bots auth required, get them from your ringcentral app pageRINGCENTRAL_BOT_CLIENT_ID=RINGCENTRAL_BOT_CLIENT_SECRET=# create bot config
cp config.sample.py config.py

# run local dev server
./bin/start

测试机器人

许可证

麻省理工学院

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java使用McClickListener单击了什么元素   Java时间戳在Oracle时间戳中不同情况下存储12 PM的奇怪行为   java无法使用事件总线对运行在不同机器上的垂直体进行通信   java Mockserver:收到请求后进行回调   java无法将Json字符串转换为Map<string,Object>   java如何按升序排列输出?   java视图行,带有oracle键。jbo。在SrCategoryParentIterator中找不到键[300100120394155]   javafxmysql连接示例   java正在等待加载完成   java是否可以将同一个有状态会话bean实例注入多个其他会话bean?   java无法让万向节检测离开或进入区域   使用JavaCV和OpenCV的java提供了dyld:lazy符号绑定失败:找不到符号:__sincos_stret   xml解析无法使用Java读取xml文档   java无法更改工具栏的颜色   javaapachesshd和JSCH   java无法在firebase存储中检索图像url   java问题与executeUpdate   同一应用程序中不同活动之间的java SharedReference