Compare::Crypto
Get the latest tarde price for different cryptocurrencies and send it to
- Twitter This one for example
- TODO: Slack
Usage
- Rename the
.env.example
to.env
- Update the
.env
file with Twitter API tokens - Update the Interval number in
.env
- Install dependencies
$ bundle install
- Set cron job
$ bundle exec whenever --update-crontab
To disable the cron job, comment the config/schedule.rb
and run whenever --update-crontab
. Check your current cron status with crontab -l
CLI
$ bin/compare-crypto BTC USD
use -l to log.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/sizief/compare-crypto. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
License
The gem is available as open source under the terms of the MIT License.
Code of Conduct
Everyone interacting in the Compare::Crypto project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.