Skip to content

Ruby script to procure data for weekly fantasy football newsletter

Notifications You must be signed in to change notification settings

cameronwebbable/weinternetgoodparser

Repository files navigation

Requirements

  • Ruby 2.7.2
  • Bundler (gem install bundler)

How to Run

  • Open terminal
  • cd into the directory for this repository
  • If you haven't, run bundle install
  • To run script: bundle exec ruby parse2.rb
  • On being prompted, enter week you'd like to get stats for

Example Stats

---This Week's Scores---
Kyle over Nathan (70 pts - 65 pts)
Cameron over Spencer (113 pts - 64 pts)
Adam over Bryan (90 pts - 83 pts)
Michael over Brad (112 pts - 65 pts)
Aaron over Jack (85 pts - 56 pts)
Brien over Josiah (84 pts - 61 pts)

---Top Free Agents---
Carson Wentz, Phi QB 24
Trevor Siemian, Den QB 22
Jermaine Kearse, NYJ WR 18
Deshaun Watson, Hou QB 17
Alex Smith, KC QB 16

---Top Players---
Tom Brady, NE QB, 29 points (Michael)
Michael Crabtree, Oak WR, 26 points (Bryan)
Todd Gurley, LAR RB, 22 points (Spencer)
Kareem Hunt, KC RB, 22 points (Michael)
Ty Montgomery, GB RB, 22 points (Brien)

---Top Bench Players---
C.J. Anderson, Den RB, 26 points (Michael)
Drew Brees, NO QB, 22 points (Brad)
Chris Thompson, Wsh RB, 21 points (Spencer)
Ben Roethlisberger, Pit QB, 17 points (Bryan)
Jalen Richard, Oak RB, 16 points (Adam)

---Top Flaming Pieces of Trash---
Jaguars D/ST D/ST, -1 points (Adam)

---Big Wins---
Cameron (113 pts) over Spencer (64 pts) - 49 point margin of victory
Michael (112 pts) over Brad (65 pts) - 47 point margin of victory

---Next Week's Matchups---
Nathan vs Spencer
Bryan vs Kyle
Michael vs Cameron
Aaron vs Adam
Josiah vs Brad
Brien vs Jack

About

Ruby script to procure data for weekly fantasy football newsletter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages