def __init__(self, id, name, start, end): HawkeyApiObject.__init__(self) self.id = id self.name = name self.start = start self.end = end
def __init__(self, id, league, start, end, is_women): HawkeyApiObject.__init__(self) self.id = id self.league = league self.start_year = start self.end_year = end self.is_women = is_women self.short_id = '-'.join([str(start), str(end)[2:4]])
def __init__(self, id, cn, street, city, state, postal, country): HawkeyApiObject.__init__(self) self.id = id self.cn = cn self.street = street self.city = city self.state = state self.postal = postal self.country = country
def __init__(self, id, institution, mascot, is_women, home_conference, social_media, web_site, league, web_provider=None): HawkeyApiObject.__init__(self) self.id = id self.institution = institution self.mascot = mascot self.is_women = is_women self.home_conference = home_conference self.social_media = social_media self.website = web_site self.league = league self.provider = web_provider if self.provider is None: self.provider = get_provider_for_url(self.website).get_name()
def __init__( self, id, home_season, home_league, home_conference, home_team_id, away_season, away_league, away_conference, away_team_id, is_conference, is_women, is_nat_tourney, is_conf_tourney, is_tournament, tournament_id=None, date, time, venue, partial, links, ): HawkeyApiObject.__init__(self) self.id = id self.home_season = home_season self.home_league = home_league self.home_conference = home_conference self.home_team_id = home_team_id self.away_season = away_season self.away_league = away_league self.away_conference = away_conference self.away_team_id = away_team_id self.is_conference = is_conference self.is_women = is_women self.is_nat_tourney = is_nat_tourney self.is_conf_tourney = is_conf_tourney self.is_tournament = is_tournament self.date = date self.time = time self.venue = venue self.partial = partial self.links = links self.tournament_id = tournament_id
def __init__(self, id, date, time, opponent, site, location, links, conference, league, season, team_id, is_women, normal_loc=None, normal_opp=None, creation_date=datetime.now().replace(microsecond=0).isoformat() ): HawkeyApiObject.__init__(self) self.team_id = team_id self.id = id self.date = date self.start_time = time self.opponent = opponent self.site = site self.location = location self.links = links self.is_conference = conference self.league = league self.season = season self.is_women = is_women self.normal_loc = normal_loc self.normal_opp = normal_opp self.creation_date = creation_date
def __init__(self): HawkeyApiObject.__init__(self)
def __init__(self, name, abbreviation, address=None): HawkeyApiObject.__init__(self) self.name = name self.abbreviation = abbreviation self.address = address