A simple bot to post the daily hive price at openhive.chat(rocket.chat).
Dependencies:
- parse-server ( self hosted or a hosted version like back4app )
- axios
- coingecko-api
Let's go:
- Get your auth token and user id at openhive.chat/rocket.chat > settings > personal access tokens
- Download the repo and put your auth token and user id inside main.js
- Head over to your parse-server dashboard > cloud code > add
- Upload package.json file and click deploy.
- Wait for a few sec and upload main.js and deploy.
- Go to parse-server dashboard > background jobs > schedule the "go" function daily.
That's it!