ffnerd v0.2.1 FFNerd.Player
Provides functions to work with Fantasy Football Nerd’s Players resources.
More info at: http://www.fantasyfootballnerd.com/fantasy-football-api#players
Link to this section Summary
Functions
Return a single player record by player id or display name
Return a list of all player records
Return a list of player records by position code
Link to this section Functions
Link to this function
find(id, client)
Return a single player record by player id or display name
Examples
FFNerd.Player.find 2, client FFNerd.Player.find “Russell Wilson”, client
Link to this function
list(client)
Return a list of all player records.
Examples
FFNerd.Player.list client
Link to this function
list(position, client)
Return a list of player records by position code.
Examples
FFNerd.Player.list “QB”, client
Link to this function
new(map_or_kwlist, opts \\ [])
new(ExConstructor.map_or_kwlist, Keyword.t) :: %FFNerd.Player{active: term, college: term, display_name: term, dob: term, fname: term, height: term, jersey: term, lname: term, player_id: term, position: term, star: term, team: term, twitter_id: term, weight: term}