Probable Pitchers is a stupid ruby app I made to automatically launch my league's probable pitchers
You need Ruby for this. If you have a mac, you should have it already? Not really sure
If you're on Windows, go here: https://rubyinstaller.org/ and follow the steps to install it.
- download it
- unzip it
- open your command line (space+command and type
terminal
for Mac or https://www.howtogeek.com/235101/10-ways-to-open-the-command-prompt-in-windows-10/ for Windows) - type
cd
then drag the unzipped folder to your terminal window - type
bundle install
into command line if you get an error here. maybe trygem install bundler
first. - if the above worked, type
ruby pp.rb
and I think it should do everything I told it to do.
if you get it running, there's a menu. here are your options
league
: changes the league ID if you want to use this for another league. you'll probably want to do this first if you aren't in my league.today
: for today's pitchersplayer
: gets tomorrows names, lets you launch their pagetomorrow
: for more options on tomorrow's pitchers, such as:tomorrows links
: will launch all the probable pitchers profiles at once in your browser (don't do this unless you can handled like 20 tabs opening at once)tomorrows names
: just their names
exit
: exits
follow other prompts as necessary.
Demo available here: https://github.com/srolandmarshall/probable_pitchers/blob/master/fantasy_app.mov?raw=true
I want to make this work with Yahoo's fantasy sports API. That should make us able to find probable pitchers into the future that are also Free Agents. Needs OAuth support and probably rails.