{"id":17573745,"url":"https://github.com/zxdong262/ringcentral-date-time-chatbot","last_synced_at":"2025-03-29T15:28:41.093Z","repository":{"id":69414833,"uuid":"158626493","full_name":"zxdong262/ringcentral-date-time-chatbot","owner":"zxdong262","description":"Simple demo ringcentral chatbot which can tell time/date created with ringcentral-chatbot-framework and ringcentral-chatbot-factory","archived":false,"fork":false,"pushed_at":"2019-11-02T09:41:12.000Z","size":178,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-04T16:19:08.887Z","etag":null,"topics":["bot","python","ringcentral"],"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-22T01:29:57.000Z","updated_at":"2019-05-27T23:38:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"fa5b02f6-c0c5-4f49-b3be-0cc5a846dcdf","html_url":"https://github.com/zxdong262/ringcentral-date-time-chatbot","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-date-time-chatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxdong262%2Fringcentral-date-time-chatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxdong262%2Fringcentral-date-time-chatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxdong262%2Fringcentral-date-time-chatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zxdong262","download_url":"https://codeload.github.com/zxdong262/ringcentral-date-time-chatbot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246203212,"owners_count":20740082,"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"],"created_at":"2024-10-21T21:04:41.794Z","updated_at":"2025-03-29T15:28:41.067Z","avatar_url":"https://github.com/zxdong262.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# ringcentral-date-time-chatbot \u003c!-- omit in toc --\u003e\n\nSimple demo ringcentral chatbot which can tell time/date created with [ringcentral-chatbot-framework](https://github.com/zxdong262/ringcentral-chatbot-python) and [ringcentral-chatbot-factory](https://github.com/zxdong262/ringcentral-chatbot-factory-py)\n\n![screen](screeshots/screen.png)\n\n## Table of contents \u003c!-- omit in toc --\u003e\n\n- [Prerequisites](#prerequisites)\n- [Quick start](#quick-start)\n- [Test bot](#test-bot)\n- [Building and Deploying to AWS Lambda](#building-and-deploying-to-aws-lambda)\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)\n\n## Quick start\n\n```bash\n\n# use virtualenv\npip3 install virtualenv # might need sudo\n\n# init virtual env\nvirtualenv venv --python=python3\n\n# use env\nsource ./venv/bin/activate\n\n# install deps\npip install -r requirements.txt\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:8989\n\n# create env file\ncp .sample.env .env\n# then edit .env, set proper setting,\n# and goto your ringcentral app setting page, set OAuth Redirect URI to https://https://xxxxx.ngrok.io/bot-oauth\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# create custom bot config file\n# All bot logic is in config.py, 68 lines only\ncp date-time-bot-logic.py config.py\n\n# run local dev server\n./bin/start\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## Building and Deploying to AWS Lambda\n\n[deploy-to-aws-lambda](https://github.com/zxdong262/ringcentral-chatbot-python/blob/master/docs/deploy-to-aws-lambda.md)\n\n## License\n\nMIT\n  ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzxdong262%2Fringcentral-date-time-chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzxdong262%2Fringcentral-date-time-chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzxdong262%2Fringcentral-date-time-chatbot/lists"}