ffnerd v0.2.1 FFNerd.DefenseRanking
Provides functions to work with Fantasy Football Nerd’s Defense Ranking resources.
More info at: http://www.fantasyfootballnerd.com/fantasy-football-api#defense-rankings
Link to this section Summary
Functions
Return a defense ranking record by team code
Return a list of defense ranking records
Convert raw api data to Player.DefenseRanking struct
Link to this section Functions
Link to this function
find(team, client)
Return a defense ranking record by team code.
Examples
FFNerd.DefenseRanking.find “SEA”, client
Link to this function
list(client)
Return a list of defense ranking records.
Examples
FFNerd.DefenseRanking.list client
Link to this function
new(map)
Convert raw api data to Player.DefenseRanking struct.