ffnerd v0.2.1 FFNerd.Injury

Provides functions to work with Fantasy Football Nerd’s Injury resources.

More info at: http://www.fantasyfootballnerd.com/fantasy-football-api#injuries

Link to this section Summary

Functions

Return a single injury record by player id and team code

Return a single injury record by player id, team code, and week

Return a list of injury records

Return a list of current week injury records by team

Return a list of injury records by team and week

Convert raw api data to Player.Injury struct

Link to this section Functions

Link to this function find(id, team, client)

Return a single injury record by player id and team code.

Examples

FFNerd.Injury.find 1465, “SEA”, client

Link to this function find(id, team, week, client)

Return a single injury record by player id, team code, and week.

Examples

FFNerd.Injury.find 1465, “SEA”, 17, client

Return a list of injury records.

Examples

FFNerd.Injury.list client

Link to this function list(week, client)

Return a list of current week injury records by team.

Examples

FFNerd.Injury.list “SEA”, client

Link to this function list(team, week, client)

Return a list of injury records by team and week.

Examples

FFNerd.Injury.list “SEA”, 17, client

Convert raw api data to Player.Injury struct.