https://github.com/nfaltir/slack-bot
🤖 A slack bot that fetches stock data and posts it on a slack channel. User can specify a schedule by deploying app using a python web framework. (flask or fastapi)
https://github.com/nfaltir/slack-bot
python slack slack-api slack-bot slackbot
Last synced: about 1 month ago
JSON representation
🤖 A slack bot that fetches stock data and posts it on a slack channel. User can specify a schedule by deploying app using a python web framework. (flask or fastapi)
- Host: GitHub
- URL: https://github.com/nfaltir/slack-bot
- Owner: nfaltir
- Created: 2021-10-15T06:48:54.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-15T08:36:04.000Z (over 4 years ago)
- Last Synced: 2025-03-31T17:03:05.765Z (about 1 year ago)
- Topics: python, slack, slack-api, slack-bot, slackbot
- Language: Python
- Homepage:
- Size: 137 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Python Slack Bot 🐍
===================================
Project Objective
--------------------
1. Create a slack bot ✅
2. Connect python and slack bot ✅
3. Allow bot to fetch stock data using yfinance and post on slack ✅
4. Allow slack users to interact with bot (request stock data) 🔨
5. Automate bot to post stock reports at specific time 🔨
Install Python Packages
------------------------------
`pip3 install -r requirements.txt`
Slack Config
---------------
1. Create a slack work space for testing
2. https://api.slack.com/apps/ click on `create an App` name your app and select workspace.
3. Click on the Slack Bot card, then click on `Review Scopes to Add`
4. Select `chat:write` for now
5. Click `Install to workspace`
6. Get Oauth token, copy and paste it into a `.env file` in root folder of project
Output Figure: current state
