{"id":17573778,"url":"https://github.com/zxdong262/ringcentral-chatbot-template-python","last_synced_at":"2025-03-29T15:28:57.911Z","repository":{"id":69414838,"uuid":"158494700","full_name":"zxdong262/ringcentral-chatbot-template-python","owner":"zxdong262","description":"Template to build ringcentral chatbot with python.","archived":false,"fork":false,"pushed_at":"2019-11-21T07:03:28.000Z","size":44,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-04T16:19:11.818Z","etag":null,"topics":["bot","python","ringcentral","template"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zxdong262.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-21T05:19:07.000Z","updated_at":"2025-01-16T19:18:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"e4c96602-0dc0-4eab-9490-3a2d8fa06fff","html_url":"https://github.com/zxdong262/ringcentral-chatbot-template-python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxdong262%2Fringcentral-chatbot-template-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxdong262%2Fringcentral-chatbot-template-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxdong262%2Fringcentral-chatbot-template-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxdong262%2Fringcentral-chatbot-template-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zxdong262","download_url":"https://codeload.github.com/zxdong262/ringcentral-chatbot-template-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246203352,"owners_count":20740107,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot","python","ringcentral","template"],"created_at":"2024-10-21T21:04:46.877Z","updated_at":"2025-03-29T15:28:57.867Z","avatar_url":"https://github.com/zxdong262.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# ringcentral-chatbot-template-python \u003c!-- omit in toc --\u003e\n\nTemplate to build RingCentral chatbot with [ringcentral-chatbot-python](https://github.com/zxdong262/ringcentral-chatbot-python).\n\n## Table of contents \u003c!-- omit in toc --\u003e\n\n- [Prerequisites](#prerequisites)\n- [Development \u0026 Quick start](#development--quick-start)\n- [Test bot](#test-bot)\n- [Create your own bot logic](#create-your-own-bot-logic)\n- [Advanced topics](#advanced-topics)\n- [License](#license)\n\n## Prerequisites\n\n- Python3.6+ and Pip3\n- Create the bot App: Login to [developer.ringcentral.com](https://developer.ringcentral.com) and create an `public` `Server/Bot` app with permissions: `ReadAccounts, Edit Extensions, WebhookSubscriptions, Glip`(or more as you may need), ---\u003e \u003ca href=\"https://developer.ringcentral.com/new-app?name=Sample+Bot+App\u0026desc=A+sample+app+created+in+conjunction+with+the+python+bot+framework\u0026public=true\u0026type=ServerBot\u0026carriers=7710,7310,3420\u0026permissions=ReadAccounts,EditExtensions,SubscriptionWebhook,Glip\u0026redirectUri=\" target=\"_blank\"\u003eClick to Create app\u003c/a\u003e\n\n## Development \u0026 Quick start\n\n```bash\n\n# init\nbin/init\nsource ./venv/bin/activate\n\n# run ngrok proxy\n# since bot need https server,\n# so we need a https proxy for ringcentral to visit our local server\n./bin/proxy\n# will show:\n# Forwarding https://xxxxx.ngrok.io -\u003e localhost:9890\n\n# create env file\n# .env already created from .sample.env\n# just edit .env, set proper setting,\nRINGCENTRAL_BOT_SERVER=https://xxxxx.ngrok.io\n\n## for bots auth required, get them from your ringcentral app page\nRINGCENTRAL_BOT_CLIENT_ID=\nRINGCENTRAL_BOT_CLIENT_SECRET=\n\n# and goto your ringcentral app setting page, set OAuth Redirect URI to https://xxxxx.ngrok.io/bot-oauth\n\n# run local dev server\n# rcs is cli server module from ringcentral_chatbot_server\nrcs bot.py\n```\n\n## Test bot\n\n- Goto your ringcentral app's bot section, click 'Add to glip'\n- Login to [https://glip-app.devtest.ringcentral.com](https://glip-app.devtest.ringcentral.com), find the bot by searching its name. Talk to the bot.\n- Edit config.py to change bot bahavior and test in [https://glip-app.devtest.ringcentral.com](https://glip-app.devtest.ringcentral.com)\n\n## Create your own bot logic\n\n- You can edit/add method in `bot.py` you need to use, write your own bot logic, restart the app, check it in [https://glip-app.devtest.ringcentral.com](https://glip-app.devtest.ringcentral.com).\n- You can read all configs available from [sample-bots/kitchen-sync.py](https://github.com/zxdong262/ringcentral-chatbot-python/blob/master/sample-bots/kitchen-sync.py)\n\nAnd we have examples bots you can check out as examples:\n\n- [date-time-chatbot](https://github.com/zxdong262/ringcentral-date-time-chatbot) : Simple ringcentral chatbot which can tell time/date.\n- [assistant-bot](https://github.com/zxdong262/ringcentral-assistant-bot) : Simple assistant Glip bot to show user/company information, this bot will show you how to access user data.\n- [poll-bot](https://github.com/zxdong262/ringcentral-poll-bot) : Example poll bot, this bot will show you how to create/use custom database wrapper.\n\n## Advanced topics\n\n- [Deploy to AWS Lambda](https://github.com/zxdong262/ringcentral-chatbot-python/blob/master/docs/deploy-to-aws-lambda.md)\n- [Use or write extensions](https://github.com/zxdong262/ringcentral-chatbot-python/blob/master/docs/extensions.md)\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzxdong262%2Fringcentral-chatbot-template-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzxdong262%2Fringcentral-chatbot-template-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzxdong262%2Fringcentral-chatbot-template-python/lists"}