In my internship, I was planning to hit the existing API and pull out information, but since I am not using that API in the future, I am doing various things such as attendance management with slack now, so personal information together there I decided to make a slack bot because it would be easier if I could also enter. First, let's compare whether to do it with python or javaScript.
flask Implemented with reference to the following url. https://qiita.com/sh-tatsuno/items/55cd5f9e78b212fb57c2
Note that the name of the module to be imported seems to be different depending on the version of slackclient.
import slack
slack_client = slack.WebClient(SLACK_BOT_TOKEN)
I could easily realize a slack bot by processing ordinary flask.
Recommended Posts