No commit activity in last 3 years
No release in over 3 years
Lita handler for ESPN Fantasy Football
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.14
~> 0.8
~> 0.7
~> 12.0
~> 3.6
~> 0.49
~> 0.9

Runtime

~> 4.7
~> 1.8
 Project Readme

lita-espn-fantasy-football

Build Status Coverage Status

This Lita handler is used to scrape data from ESPN's Fantasy Football Site. Right now, it is very limited, so PRs are very welcome!

Installation

Add lita-espn-fantasy-football to your Lita instance's Gemfile:

gem 'lita-espn-fantasy-football'

Configuration

Set your league_id, and optionally season_id (defaults to 2017). If you'd like league activity regularly reported, specify an activity_room. The interval is configurable via activity_interval (defaults to 15 minutes).

Lita.configure do |config|
  config.handlers.espn_fantasy_football.league_id = '123456'
  config.handlers.espn_fantasy_football.season_id = '2017'
  config.handlers.espn_fantasy_football.activity_room = 'general'
  config.handlers.espn_fantasy_football.activity_interval = 900
end

Usage

Searching for a Player

Search for a player by last name

Lita: player manning

+------------------+------+----------+-------+------------+------+
| player           | team | position | owner | projection | note |
+------------------+------+----------+-------+------------+------+
| Peyton Manning   | Den  | QB       | RG3   | 17         |      |
| Eli Manning      | NYG  | QB       | CALI  | 17         |      |
| Mario Manningham | NYG  | WR       | FA    | --         |      |
+------------------+------+----------+-------+------------+------+

Checking the scoreboard

Get this week's scoreboard

Lita: score

+-------------------------------+-------+
| team                          | score |
+-------------------------------+-------+
| The Prime Rib Special         | 66    |
| Wouldn't it be great if I won | 147   |
|                               |       |
| Genghis is my real name       | 60    |
| Miles is a better real name   | 104   |
|                               |       |
| Is Keith still alive?         | 71    |
| Minnesota State Faircatch     | 108   |
|                               |       |
+-------------------------------+-------+

Get any week's scoreboard

Lita: score 3

+-------------------------------+-------+
| team                          | score |
+-------------------------------+-------+
| Is Keith still alive?         | 72    |
| Miles is a better real name   | 71    |
|                               |       |
| Genghis is my real name       | 97    |
| Wouldn't it be great if I won | 62    |
|                               |       |
| The Prime Rib Special         | 119   |
| Minnesota State Faircatch     | 107   |
|                               |       |
+-------------------------------+-------+

See recent league activity

See recent trades, adds, drops, etc.

Lita: activity

:wrench: Renamed team The Prime Rib Special to The SubPrime Rib Special.
:green_heart: REED added *Kai Forbath*, NO K from Free Agency to Bench
:broken_heart: REED dropped *Martellus Bennett*, Chi TE to Waivers