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

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


ringcentral-chatbot-python-ext-bot-info

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

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
npm i

# 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如何将异步类的结果放入mainActivity EditText   java LDAP目录管理器服务提供,OutOfMemory   java Cassandra NoHostAvailableException,但仍存在活动节点   springboot应用程序的java启动线程   如果poll不一定返回第一项,那么java是ConcurrentLinkedQueue的好选择吗?   解析XML时JSON中出现java意外字符串   当'key'是两个整数时,如何输出Java HashMap键?   java为什么不显示在jsp页面中   java使用流式API转换映射列表中的值   JavaJPA+Spring:基于在持久化实体之前接收到的值,将外键列映射到ID   java如何使用selenium读取pdf文件   Canny之后的java对象提取   DSpace没有列出集合,java。lang.NumberFormatException:null   java我可以为数据库表主键设置一个最大值吗?   java如何定义Javadoc链接,可以通过单击   @java/spring中的SessionAttribute是否丢失数据?