yfpy.models

YFPY module containing Python object models representing all currently known Yahoo Fantasy Sports REST API data.

This module is built to abstract away the intricacies of parsing the complex and oftentimes messy data returned by the Yahoo Fantasy Sports REST API, and instead provide the user with a collection of custom classes making it easy and intuitive to access the data content.

logger

Module level logger for usage and debugging.

Type

Logger

Classes

Bonus

Model class for "bonus" data key.

ByeWeeks

Model class for "bye_weeks" data key.

Division

Model class for "division" data key.

DivisionalOutcomeTotals

Model class for "divisional_outcome_totals" data key.

DraftAnalysis

Model class for "draft_analysis" data key.

DraftResult

Model class for "draft_result" data key.

Game

Model class for "game" data key.

GameWeek

Model class for "game_week" data key.

Headshot

Model class for "headshot" data key.

League

Model class for "league" data key.

Manager

Model class for "manager" data key.

Matchup

Model class for "matchup" data key.

MatchupGrade

Model class for "matchup_grade" data key.

Name

Model class for "name" data key.

OutcomeTotals

Model class for "outcome_totals" data key.

Ownership

Model class for "ownership" data key.

PercentOwned

Model class for "percent_owned" data key.

Player

Model class for "player" data key.

PlayerPoints

Model class for "player_points" data key.

PlayerStats

Model class for "player_stats" data key.

PositionType

Model class for "position_type" data key.

Roster

Model class for "roster" data key.

RosterAdds

Model class for "roster_adds" data key.

RosterPosition

Model class for "roster_position" data key.

Scoreboard

Model class for "scoreboard" data key.

SelectedPosition

Model class for "selected_position" data key.

Settings

Model class for "settings" data key.

Standings

Model class for "standings" data key.

Stat

Model class for "stat" data key.

StatCategories

Model class for "stat_categories" data key.

StatModifiers

Model class for "stat_modifiers" data key.

StatPositionType

Model class for "stat_position_type" data key.

Streak

Model class for "streak" data key.

Team

Model class for "team" data key.

TeamLogo

Model class for "team_logo" data key.

TeamPoints

Model class for "team_points" data key.

TeamProjectedPoints

Model class for "team_projected_points" data key.

TeamStandings

Model class for "team_standings" data key.

Transaction

Model class for "transaction" data key.

TransactionData

Model class for "transaction_data" data key.

User

Model class for "user" data key.

YahooFantasyObject

Base Yahoo Fantasy Sports data object from which all model classes inherit their methods and attributes.