Skip to content

Automate adding of free agents in fantasy football leagues

Notifications You must be signed in to change notification settings

kuroshhashemi/free-agent-sleeper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 

Repository files navigation

free-agent-sleeper

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.

How to use

  1. Install Ruby
  2. Clone this repo
  3. Install and run bundler gem:
  • gem install bundler
  • bundle install
  1. Modify your script to log into fantasy sites along with adding/dropping players.
  2. Run RSpec: rspec spec\yahoo\add_free_agent.rb

Scheduling

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:

  • Start a program: C:\Ruby22-x64\bin\rspec.bat
  • With arguments: spec\yahoo\add_free_agent.rb > free-agent-sleeper.log
  • Start in: <root directory of repo>

Discussion: Old reddit thread

About

Automate adding of free agents in fantasy football leagues

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%