ffnerd v0.1.0 FFNerd.WeeklyProjection

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

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

Summary

Functions

Return a single weekly ranking projection by person id and position

Return a single weekly ranking projection by person id, position, and week

Return a list of weekly projection records by position

Return a list of weekly projection records by position and week

Convert raw api data to WeeklyProjection struct

Functions

find(id, position, client)

Return a single weekly ranking projection by person id and position.

Examples

FFNerd.WeeklyProjection.find 259, client

FFNerd.WeeklyProjection.find :ppr, 259, client

find(id, position, week, client)

Return a single weekly ranking projection by person id, position, and week.

Examples

FFNerd.WeeklyProjection.find 259, client

FFNerd.WeeklyProjection.find :ppr, 259, client

list(position, client)

Return a list of weekly projection records by position.

Examples

FFNerd.WeeklyProjection.list “QB”, client

FFNerd.WeeklyProjection.list :ppr, “QB”, client

list(position, week, client)

Return a list of weekly projection records by position and week.

Examples

FFNerd.WeeklyProjection.list “QB”, client

FFNerd.WeeklyProjection.list :ppr, “QB”, client

new(map)

Convert raw api data to WeeklyProjection struct.