- May through to slack bot getting Taiwan concert / event's information.
- Open dataset from Ministry of Culture ( Link : https://opendata.culture.tw/frontsite/openData/detail?datasetId=274 )
- Create virtual env and active venv
python -m venv venv
source venv/bin/activate
- Install library
pip install -r requirement
- Setup ur slack bot
- a. Create slack bot (Ref. Create Slack Bot Using Python Tutorial With Examples)
- b. Copy manifest.yml paste to app menifest setting
- c. Create a slack channel and add ur slack bot
- In venv, export the token
- a. Copy the SLACK_BOT_TOKEN and SLACK_APP_TOKEN from slack api
- b. Command in venv or set up token in
entrypoint.sh
export SLACK_BOT_TOKEN=xoxb-xxxxx
export SLACK_APP_TOKEN=xapp-xxxxx
- Started the code
python3 app.py
Or run entrypoint.sh
sh entrypoint.sh
- User able input "concert" / "event" / "exhibition" to get information