Currency services
- BOT (Bank Of Taiwan) - https://rate.bot.com.tw/xrt
- Download currency rate CSV file from BOT
- Periodically download new currency rate CSV file.
- Periodically backup to dropbox.
- Use Slack Slash commands to get latest currency rate
go install github.com/hanksudo/currency@latest
# start web server for Slack currency -web curl "http://localhost:3030?currency=jpy" # Retrieved latest CSV file currency -renew # Backup to Dropbox # You need generate access token from your Dropbox app setting page export DROPBOX_ACCESS_TOKEN=<YOUR-ACCESS-TOKEN> currency -backup
go run . -web
ngrok http 3030Then set your ngrok url on you slack command integration url.