Company
Date Published
Author
Alessio Fanelli
Word count
2225
Language
English
Hacker News points
None

Summary

Alessio Fanelli's guide explains how to create a daily fantasy football salary tracker using Ruby and Twilio MMS, offering enthusiasts a way to gain a competitive edge by receiving timely price alerts. The project involves using SQLite as the database to store player data, while Sequel serves as a lightweight database toolkit for Ruby. The setup includes automating CSV downloads from websites like DraftKings or FanDuel, comparing new data with previous entries, and notifying users of player salary changes via MMS. The guide details the development environment setup, including installing necessary dependencies such as Bundler, SQLite, and ImageMagick, and provides comprehensive code snippets for building the tracker. It also covers obtaining API keys from Imgur and Twilio for image uploads and sending notifications, emphasizing the importance of keeping sensitive keys secure using Dotenv. Finally, the post advises setting up a task scheduler to automate the process, ensuring users receive updates every few hours, and suggests hosting solutions for continuous operation.