Automate adding of free agents in fantasy football leagues
Automate adding of free agents in fantasy football leagues.
This was developed to automate the adding and dropping of players on a fantasy football team. This allows users to automate this process so that when waivers clear (normally around 4 AM Eastern Time), fantasy owners can continue to sleep in their beds.
gem install bundler
bundle install
rspec spec\yahoo\add_free_agent.rb
This spec does not schedule execution on its own. It is recommended that you run RSpec via cron job or scheduled Windows Task. A Windows Task would look something like:
C:\Ruby22-x64\bin\rspec.bat
spec\yahoo\add_free_agent.rb > free-agent-sleeper.log
<root directory of repo>
Discussion: Old reddit thread