responses

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiStatus

type ApiStatus struct {
	CurrentSeason  int                 `json:"current_season"`
	MaxSeason      int                 `json:"max_season"`
	IsDatafeedDown bool                `json:"is_datafeed_down"`
	DownEvents     []string            `json:"down_events"`
	IosVersion     ApiStatusAppVersion `json:"ios"`
	AndroidVersion ApiStatusAppVersion `json:"android"`
}

type ApiStatusAppVersion

type ApiStatusAppVersion struct {
	MinAppVersion    int `json:"min_app_version"`
	LatestAppVersion int `json:"latest_app_version"`
}

type Award

type Award struct {
	Name          string           `json:"name"`
	AwardType     int              `json:"award_type"`
	EventKey      string           `json:"event_key"`
	RecipientList []AwardRecipient `json:"recipient_list"`
	Year          int              `json:"year"`
}

type AwardRecipient

type AwardRecipient struct {
	TeamKey string `json:"team_key"`
	Awardee string `json:"awardee"`
}

type DistrictList

type DistrictList struct {
	Abbreviation string `json:"abbreviation"`
	DisplayName  string `json:"display_name"`
	Key          string `json:"key"`
	Year         int    `json:"year"`
}

type DistrictRanking

type DistrictRanking struct {
	TeamKey     string                       `json:"team_key"`
	Rank        int                          `json:"rank"`
	RookieBonus int                          `json:"rookie_bonus"`
	PointTotal  int                          `json:"point_total"`
	EventPoints []DistrictRankingEventPoints `json:"event_points"`
}

type DistrictRankingEventPoints

type DistrictRankingEventPoints struct {
	DistrictCompetition bool   `json:"district_cmp"`
	Total               int    `json:"total"`
	AlliancePoints      int    `json:"alliance_points"`
	EliminationPoints   int    `json:"elimination_points"`
	AwardPoints         int    `json:"award_points"`
	EventKey            string `json:"event_key"`
	QualificationPoints int    `json:"qualification_points"`
}

type Event

type Event struct {
	Key               string       `json:"key"`
	Name              string       `json:"name"`
	EventCode         string       `json:"event_code"`
	EventType         int          `json:"event_type"`
	DistrictList      DistrictList `json:"district_list"`
	City              string       `json:"city"`
	StateProvince     string       `json:"state_prov"`
	Country           string       `json:"country"`
	StartDate         string       `json:"start_date"`
	EndDate           string       `json:"end_date"`
	Year              int          `json:"year"`
	ShortName         string       `json:"short_name"`
	EventTypeString   string       `json:"event_type_string"`
	Week              int          `json:"week"`
	Address           string       `json:"address"`
	PostalCode        string       `json:"postal_code"`
	GoogleMapsPlaceId string       `json:"gmaps_place_id"`
	GoogleMapsUrl     string       `json:"gmaps_url"`
	Latitude          float64      `json:"lat"`
	Longitude         float64      `json:"long"`
	LocationName      string       `json:"location_name"`
	Timezone          string       `json:"timezone"`
	Website           string       `json:"website"`
	FirstEventId      string       `json:"first_event_id"`
	FirstEventCode    string       `json:"first_event_code"`
	DivisionKeys      []string     `json:"division_keys"`
	Webcasts          []Webcast    `json:"webcasts"`
	ParentEventKey    string       `json:"parent_event_key"`
	PlayoffType       int          `json:"playoff_type"`
	PlayoffTypeString string       `json:"playoff_type_string"`
}

type EventAlliance

type EventAlliance struct {
	Name   string `json:"name"`
	Backup struct {
		In  string `json:"in"`
		Out string `json:"out"`
	} `json:"backup"`
	Declines []string    `json:"declines"`
	Picks    []string    `json:"picks"`
	Status   interface{} `json:"status"`
}

type EventAllianceStatus

type EventAllianceStatus struct {
	PlayoffAverage     float64          `mapstructure:"playoff_average"`
	Level              string           `mapstructure:"level"`
	Record             WinLossTieRecord `mapstructure:"record"`
	CurrentLevelRecord WinLossTieRecord `mapstructure:"current_level_record"`
	Status             string           `mapstructure:"status"`
}

type EventDistrictPoints

type EventDistrictPoints struct {
	Points map[string]struct {
		Total               int `json:"total"`
		AlliancePoints      int `json:"alliance_points"`
		EliminationPoints   int `json:"elim_points"`
		AwardPoints         int `json:"award_points"`
		QualificationPoints int `json:"qual_points"`
	} `json:"points"`
	TieBreakers map[string]struct {
		HighestQualificationScore []int `json:"highest_qual_score"`
		QualificationWins         int   `json:"qual_wins"`
	} `json:"tie_breakers"`
}

type EventInsights2016

type EventInsights2016 struct {
	LowBar               []float64 `json:"LowBar"`
	AChevalDeFrise       []float64 `json:"A_ChevalDeFrise"`
	APortcullis          []float64 `json:"A_Portcullis"`
	BRamparts            []float64 `json:"B_Ramparts"`
	BMoat                []float64 `json:"B_Moat"`
	CSallyPort           []float64 `json:"C_Sally_Port"`
	CDrawbridge          []float64 `json:"C_Drawbridge"`
	DRoughTerrain        []float64 `json:"D_Rough_Terrain"`
	DRockWall            []float64 `json:"D_Rock_Wall"`
	AverageHighGoals     float64   `json:"average_high_goals"`
	AverageLowGoals      float64   `json:"average_low_goals"`
	Breaches             []float64 `json:"breaches"`
	Scales               []float64 `json:"scales"`
	Challenges           []float64 `json:"challenges"`
	Captures             []float64 `json:"captures"`
	AverageWinScore      float64   `json:"average_win_score"`
	AverageWinMargin     float64   `json:"average_win_margin"`
	AverageScore         float64   `json:"average_score"`
	AverageAutoScore     float64   `json:"average_auto_score"`
	AverageCrossingScore float64   `json:"average_crossing_score"`
	AverageBoulderScore  float64   `json:"average_boulder_score"`
	AverageTowerScore    float64   `json:"average_tower_score"`
	AverageFoulScore     float64   `json:"average_foul_score"`
	HighScore            []string  `json:"high_score"`
}

type EventInsights2017

type EventInsights2017 struct {
	AverageFoulScore           float64   `json:"average_foul_score"`
	AverageFuelScore           float64   `json:"average_fuel_score"`
	AverageFuelPointsAuto      float64   `json:"average_fuel_points_auto"`
	AverageFuelPointsTeleop    float64   `json:"average_fuel_points_teleop"`
	AverageHighGoals           float64   `json:"average_high_goals"`
	AverageHighGoalsAuto       float64   `json:"average_high_goals_auto"`
	AverageHighGoalsTeleop     float64   `json:"average_high_goals_teleop"`
	AverageLowGoals            float64   `json:"average_low_goals"`
	AverageLowGoalsAuto        float64   `json:"average_low_goals_auto"`
	AverageLowGoalsTeleop      float64   `json:"average_low_goals_teleop"`
	AverageMobilityPointsAuto  float64   `json:"average_mobility_points_auto"`
	AveragePointsAuto          float64   `json:"average_points_auto"`
	AveragePointsTeleop        float64   `json:"average_points_teleop"`
	AverageRotorPoints         float64   `json:"average_rotor_points"`
	AverageRotorPointsAuto     float64   `json:"average_rotor_points_auto"`
	AverageRotorPointsTeleop   float64   `json:"average_rotor_points_teleop"`
	AverageScore               float64   `json:"average_score"`
	AverageTakeoffPointsTeleop float64   `json:"average_takeoff_points_teleop"`
	AverageWinMargin           float64   `json:"average_win_margin"`
	AverageWinScore            float64   `json:"average_win_score"`
	HighKpa                    []string  `json:"high_kpa"`
	HighScore                  []string  `json:"high_score"`
	KpaAchieved                []float64 `json:"kpa_achieved"`
	MobilityCounts             []float64 `json:"mobility_counts"`
	Rotor1Engaged              []float64 `json:"rotor_1_engaged"`
	Rotor1EngagedAuto          []float64 `json:"rotor_1_engaged_auto"`
	Rotor2Engaged              []float64 `json:"rotor_2_engaged"`
	Rotor2EngagedAuto          []float64 `json:"rotor_2_engaged_auto"`
	Rotor3Engaged              []float64 `json:"rotor_3_engaged"`
	Rotor4Engaged              []float64 `json:"rotor_4_engaged"`
	TakeoffCounts              []float64 `json:"takeoff_counts"`
	UnicornMatches             []float64 `json:"unicorn_matches"`
}

type EventInsights2018

type EventInsights2018 struct {
	AutoQuestAchieved                             []float64 `json:"auto_quest_achieved"`
	AverageBoostPlayed                            float64   `json:"average_boost_played"`
	AverageEndgamePoints                          float64   `json:"average_endgame_points"`
	AverageForcePlayed                            float64   `json:"average_force_played"`
	AverageFoulScore                              float64   `json:"average_foul_score"`
	AveragePointsAuto                             float64   `json:"average_points_auto"`
	AveragePointsTeleop                           float64   `json:"average_points_teleop"`
	AverageRunPointsAuto                          float64   `json:"average_run_points_auto"`
	AverageScaleOwnershipPoints                   float64   `json:"average_scale_ownership_points"`
	AverageScaleOwnershipPointsAuto               float64   `json:"average_scale_ownership_points_auto"`
	AverageScaleOwnershipPointsTeleop             float64   `json:"average_scale_ownership_points_teleop"`
	AverageScore                                  float64   `json:"average_score"`
	AverageSwitchOwnershipPoints                  float64   `json:"average_switch_ownership_points"`
	AverageSwitchOwnershipPointsAuto              float64   `json:"average_switch_ownership_points_auto"`
	AverageSwitchOwnershipPointsTeleop            float64   `json:"average_switch_ownership_points_teleop"`
	AverageVaultPoints                            float64   `json:"average_vault_points"`
	AverageWinMargin                              float64   `json:"average_win_margin"`
	AverageWinScore                               float64   `json:"average_win_score"`
	BoostPlayedCount                              []float64 `json:"boost_played_count"`
	ClimbCounts                                   []float64 `json:"climb_counts"`
	FaceTheBossAchieved                           []float64 `json:"face_the_boss_achieved"`
	ForcePlayedCounts                             []float64 `json:"force_played_counts"`
	HighScore                                     []string  `json:"high_score"`
	LevitatePlayedCounts                          []float64 `json:"levitate_played_counts"`
	RunCountsAuto                                 []float64 `json:"run_counts_auto"`
	ScaleNeutralPercentage                        float64   `json:"scale_neutral_percentage"`
	ScaleNeutralPercentageAuto                    float64   `json:"scale_neutral_percentage_auto"`
	ScaleNeutralPercentageTeleop                  float64   `json:"scale_neutral_percentage_teleop"`
	SwitchOwnedCountsAuto                         []float64 `json:"switch_owned_counts_auto"`
	UnicornMatches                                []float64 `json:"unicorn_matches"`
	WinningOpponentSwitchDenialPercentageTabletop float64   `json:"winning_opp_switch_denial_percentage_teleop"`
	WinningOwnSwitchOwnershipPercentage           float64   `json:"winning_own_switch_ownership_percentage"`
	WinningOwnSwitchOwnershipPercentageAuto       float64   `json:"winning_own_switch_ownership_percentage_auto"`
	WinningOwnSwitchOwnershipPercentageTeleop     float64   `json:"winning_own_switch_ownership_percentage_teleop"`
	WinningScaleOwnershipPercentage               float64   `json:"winning_scale_ownership_percentage"`
	WinningScaleOwnershipPercentageAuto           float64   `json:"winning_scale_ownership_percentage_auto"`
	WinningScaleOwnershipPercentageTeleop         float64   `json:"winning_scale_ownership_percentage_teleop"`
}

type EventInsights2019

type EventInsights2019 struct {
	Qualifications map[string]interface{} `json:"qual"`
	Playoffs       map[string]interface{} `json:"playoff"`
}

type EventOPRs

type EventOPRs struct {
	OffensivePointRankings                 map[string]float64 `json:"oprs"`
	DefensivePointRankings                 map[string]float64 `json:"dprs"`
	CalculationContributionToWinningMargin map[string]float64 `json:"ccwms"`
}

type EventPredictions

type EventPredictions map[string]interface{}

type EventRanking

type EventRanking struct {
	Rankings       []Ranking   `json:"rankings"`
	ExtraStatsInfo []SortOrder `json:"extra_stats_info"`
	SortOrderInfo  []SortOrder `json:"sort_order_info"`
}

type EventSimple

type EventSimple struct {
	Key           string       `json:"key"`
	Name          string       `json:"name"`
	EventCode     string       `json:"event_code"`
	EventType     string       `json:"event_type"`
	DistrictList  DistrictList `json:"district_list"`
	City          string       `json:"city"`
	StateProvince string       `json:"state_prov"`
	Country       string       `json:"country"`
	StartDate     string       `json:"start_date"`
	EndDate       string       `json:"end_date"`
	Year          int          `json:"year"`
}

type Match

type Match struct {
	Key              string `json:"key"`
	CompetitionLevel string `json:"comp_level"`
	SetNumber        int    `json:"set_number"`
	MatchNumber      int    `json:"match_number"`
	Alliances        struct {
		Red  MatchAlliance `json:"red"`
		Blue MatchAlliance `json:"blue"`
	} `json:"alliances"`
	WinningAlliance string      `json:"winning_alliance"`
	EventKey        string      `json:"event_key"`
	Time            int64       `json:"time"`
	PredictedTime   int64       `json:"predicted_time"`
	ActualTime      int64       `json:"actual_time"`
	PostResultTime  int64       `json:"post_result_time"`
	ScoreBreakdown  interface{} `json:"score_breakdown"`
	Videos          []struct {
		Type string `json:"type"`
		Key  string `json:"key"`
	} `json:"videos"`
}

type MatchAlliance

type MatchAlliance struct {
	Score                int      `json:"score"`
	TeamKeys             []string `json:"team_keys"`
	SurrogateTeamKeys    []string `json:"surrogate_team_keys"`
	DisqualifiedTeamKeys []string `json:"dq_team_keys"`
}

type MatchSimple

type MatchSimple struct {
	Key              string `json:"key"`
	CompetitionLevel string `json:"comp_level"`
	SetNumber        int    `json:"set_number"`
	MatchNumber      int    `json:"match_number"`
	Alliances        struct {
		Red  MatchAlliance `json:"red"`
		Blue MatchAlliance `json:"blue"`
	} `json:"alliances"`
	WinningAlliance string `json:"winning_alliance"`
	EventKey        string `json:"event_key"`
	Time            int64  `json:"time"`
	PredictedTime   int64  `json:"predicted_time"`
	ActualTime      int64  `json:"actual_time"`
}

type Media

type Media struct {
	Key        string                 `json:"key"`
	Type       string                 `json:"type"`
	ForeignKey string                 `json:"foreign_key"`
	Details    map[string]interface{} `json:"details"`
	Preferred  bool                   `json:"preferred"`
	DirectUrl  string                 `json:"direct_url"`
	ViewUrl    string                 `json:"view_url"`
}

type Ranking

type Ranking struct {
	MatchesPlayed        int              `json:"matches_played"`
	QualificationAverage float64          `json:"qual_average"`
	Record               WinLossTieRecord `json:"record"`
	Rank                 int              `json:"rank"`
	Disqualifications    int              `json:"dq"`
	TeamKey              string           `json:"team_key"`
	SortOrders           []float64        `json:"sort_orders"`
	ExtraStats           []float64        `json:"extra_stats"`
}

type ScoringBreakdown2016

type ScoringBreakdown2016 struct {
	Red  ScoringBreakdownAlliance2016 `mapstructure:"red"`
	Blue ScoringBreakdownAlliance2016 `mapstructure:"blue"`
}

type ScoringBreakdown2017

type ScoringBreakdown2017 struct {
	Red  ScoringBreakdownAlliance2017 `mapstructure:"red"`
	Blue ScoringBreakdownAlliance2017 `mapstructure:"blue"`
}

type ScoringBreakdown2018

type ScoringBreakdown2018 struct {
	Red  ScoringBreakdownAlliance2018 `mapstructure:"red"`
	Blue ScoringBreakdownAlliance2018 `mapstructure:"blue"`
}

type ScoringBreakdown2019

type ScoringBreakdown2019 struct {
	Red  ScoringBreakdownAlliance2019 `mapstructure:"red"`
	Blue ScoringBreakdownAlliance2019 `mapstructure:"blue"`
}

type ScoringBreakdown2020

type ScoringBreakdown2020 struct {
	Red  ScoringBreakdown2020Alliance `mapstructure:"red"`
	Blue ScoringBreakdown2020Alliance `mapstructure:"blue"`
}

type ScoringBreakdown2020Alliance

type ScoringBreakdown2020Alliance struct {
	InitLineRobot1                string `mapstructure:"initLineRobot1"`
	EndgameRobot1                 string `mapstructure:"endgameRobot1"`
	InitLineRobot2                string `mapstructure:"initLineRobot2"`
	EndgameRobot2                 string `mapstructure:"endgameRobot2"`
	InitLineRobot3                string `mapstructure:"initLineRobot3"`
	EndgameRobot3                 string `mapstructure:"endgameRobot3"`
	AutoCellsBottom               int    `mapstructure:"autoCellsBottom"`
	AutoCellsOuter                int    `mapstructure:"autoCellsOuter"`
	AutoCellsInner                int    `mapstructure:"autoCellsInner"`
	TeleopCellsBottom             int    `mapstructure:"teleopCellsBottom"`
	TeleopCellsOuter              int    `mapstructure:"teleopCellsOuter"`
	TeleopCellsInner              int    `mapstructure:"teleopCellsInner"`
	Stage1Activated               bool   `mapstructure:"stage1Activated"`
	Stage2Activated               bool   `mapstructure:"stage2Activated"`
	Stage3Activated               bool   `mapstructure:"stage3Activated"`
	Stage3TargetColor             string `mapstructure:"stage3TargetColor"`
	EndgameRungIsLevel            string `mapstructure:"endgameRungIsLevel"`
	AutoInitLinePoints            int    `mapstructure:"autoInitLinePoints"`
	AutoCellPoints                int    `mapstructure:"autoCellPoints"`
	AutoPoints                    int    `mapstructure:"autoPoints"`
	TeleopCellPoints              int    `mapstructure:"teleopCellPoints"`
	ControlPanelPoints            int    `mapstructure:"controlPanelPoints"`
	EndgamePoints                 int    `mapstructure:"endgamePoints"`
	TeleopPoints                  int    `mapstructure:"teleopPoints"`
	ShieldOperationalRankingPoint bool   `mapstructure:"shieldOperationalRankingPoint"`
	ShieldEnergizedRankingPoint   bool   `mapstructure:"shieldEnergizedRankingPoint"`
	FoulCount                     int    `mapstructure:"foulCount"`
	TechFoulCount                 int    `mapstructure:"techFoulCount"`
	AdjustPoints                  int    `mapstructure:"adjustPoints"`
	FoulPoints                    int    `mapstructure:"foulPoints"`
	RankingPoints                 int    `mapstructure:"rp"`
	TotalPoints                   int    `mapstructure:"totlaPoints"`
}

type ScoringBreakdownAlliance2016

type ScoringBreakdownAlliance2016 struct {
	AutoPoints             int    `mapstructure:"autoPoints"`
	TeleopPoints           int    `mapstructure:"teleopPoints"`
	BreachPoints           int    `mapstructure:"breachPoints"`
	FoulPoints             int    `mapstructure:"foulPoints"`
	CapturePoints          int    `mapstructure:"capturePoints"`
	AdjustPoints           int    `mapstructure:"adjustPoints"`
	TotalPoints            int    `mapstructure:"totalPoints"`
	Robot1Auto             string `mapstructure:"robot1Auto"`
	Robot2Auto             string `mapstructure:"robot2Auto"`
	Robot3Auto             string `mapstructure:"robot3Auto"`
	AutoReachPoints        int    `mapstructure:"autoReachPoints"`
	AutoCrossingPoints     int    `mapstructure:"autoCrossingPoints"`
	AutoBouldersLow        int    `mapstructure:"autoBouldersLow"`
	AutoBouldersHigh       int    `mapstructure:"autoBouldersHigh"`
	AutoBouldersPoints     int    `mapstructure:"autoBouldersPoints"`
	TeleopCrossingPoints   int    `mapstructure:"teleopCrossingPoints"`
	TeleopBouldersLow      int    `mapstructure:"teleopBouldersLow"`
	TeleopBouldersHigh     int    `mapstructure:"teleopBouldersHigh"`
	TeleopBouldersPoints   int    `mapstructure:"teleopBouldersPoints"`
	TeleopDefensesBreached bool   `mapstructure:"teleopDefensesBreached"`
	TeleopChallengePoints  int    `mapstructure:"teleopChallengePoints"`
	TeleopScalePoints      int    `mapstructure:"teleopScalePoints"`
	TeleopTowerCaptured    int    `mapstructure:"teleopTowerCaptured"`
	TowerFaceA             string `mapstructure:"towerFaceA"`
	TowerFaceB             string `mapstructure:"towerFaceB"`
	TowerFaceC             string `mapstructure:"towerFaceC"`
	TowerEndStrength       int    `mapstructure:"towerEndStrength"`
	TechnicalFoulCount     int    `mapstructure:"techFoulCount"`
	FoulCount              int    `mapstructure:"foulCount"`
	Position2              string `mapstructure:"position2"`
	Position3              string `mapstructure:"position3"`
	Position4              string `mapstructure:"position4"`
	Position5              string `mapstructure:"position5"`
	Position1Crossings     int    `mapstructure:"position1crossings"`
	Position2Crossings     int    `mapstructure:"position2crossings"`
	Position3Crossings     int    `mapstructure:"position3crossings"`
	Position4Crossings     int    `mapstructure:"position4crossings"`
	Position5Crossings     int    `mapstructure:"position5crossings"`
}

type ScoringBreakdownAlliance2017

type ScoringBreakdownAlliance2017 struct {
	AutoPoints                int    `mapstructure:"autoPoints"`
	TeleopPoints              int    `mapstructure:"teleopPoints"`
	FoulPoints                int    `mapstructure:"foulPoints"`
	AdjustPoints              int    `mapstructure:"adjustPoints"`
	TotalPoints               int    `mapstructure:"totalPoints"`
	Robot1Auto                string `mapstructure:"robot1Auto"`
	Robot2Auto                string `mapstructure:"robot2Auto"`
	Robot3Auto                string `mapstructure:"robot3Auto"`
	Rotor1Auto                bool   `mapstructure:"rotor1Auto"`
	Rotor2Auto                bool   `mapstructure:"rotor2Auto"`
	AutoFuelLow               int    `mapstructure:"autoFuelLow"`
	AutoFuelHigh              int    `mapstructure:"autoFuelHigh"`
	AutoMobilityPoints        int    `mapstructure:"autoMobilityPoints"`
	AutoRotorPoints           int    `mapstructure:"autoRotorPoints"`
	AutoFuelPoints            int    `mapstructure:"autoFuelPoints"`
	TeleopFuelPoints          int    `mapstructure:"teleopFuelPoints"`
	TeleopFuelLow             int    `mapstructure:"teleopFuelLow"`
	TeleopFuelHigh            int    `mapstructure:"teleopFuelHigh"`
	TeleopRotorPoints         int    `mapstructure:"teleopRotorPoints"`
	KpaRankingPointAchieved   bool   `mapstructure:"kPaRankingPointAchieved"`
	TeleopTakeoffPoints       int    `mapstructure:"teleopTakeoffPoints"`
	KpaBonusPoints            int    `mapstructure:"kPaBonusPoints"`
	RotorBonusPoints          int    `mapstructure:"rotorBonusPoints"`
	Rotor1Engaged             bool   `mapstructure:"rotor1Engaged"`
	Rotor2Engaged             bool   `mapstructure:"rotor2Engaged"`
	Rotor3Engaged             bool   `mapstructure:"rotor3Engaged"`
	Rotor4Engaged             bool   `mapstructure:"rotor4Engaged"`
	RotorRankingPointAchieved bool   `mapstructure:"rotorRankingPointAchieved"`
	TechnicalFoulCount        int    `mapstructure:"techFoulCount"`
	FoulCount                 int    `mapstructure:"foulCount"`
	TouchpadNear              string `mapstructure:"touchpadNear"`
	TouchpadMiddle            string `mapstructure:"touchpadMiddle"`
	TouchpadFar               string `mapstructure:"touchpadFar"`
}

type ScoringBreakdownAlliance2018

type ScoringBreakdownAlliance2018 struct {
	AdjustPoints                 int     `mapstructure:"adjustPoints"`
	AutoOwnershipPoints          int     `mapstructure:"autoOwnershipPoints"`
	AutoPoints                   int     `mapstructure:"autoPoints"`
	AutoQuestRankingPoint        bool    `mapstructure:"autoQuestRankingPoint"`
	AutoRobot1                   string  `mapstructure:"autoRobot1"`
	AutoRobot2                   string  `mapstructure:"autoRobot2"`
	AutoRobot3                   string  `mapstructure:"autoRobot3"`
	AutoRunPoints                int     `mapstructure:"autoRunPoints"`
	AutoScaleOwnershipSeconds    float64 `mapstructure:"autoScaleOwnershipSec"`
	AutoSwitchAtZero             bool    `mapstructure:"autoSwitchAtZero"`
	AutoSwitchOwnershipSeconds   float64 `mapstructure:"autoSwitchOwnershipSec"`
	EndgamePoints                int     `mapstructure:"endgamePoints"`
	EndgameRobot1                string  `mapstructure:"endgameRobot1"`
	EndgameRobot2                string  `mapstructure:"endgameRobot2"`
	EndgameRobot3                string  `mapstructure:"endgameRobot3"`
	FaceTheBossRankingPoint      bool    `mapstructure:"faceTheBossRankingPoint"`
	FoulCount                    int     `mapstructure:"foulCount"`
	FoulPoints                   int     `mapstructure:"foulPoints"`
	RankingPoints                int     `mapstructure:"rp"`
	TechnicalFoulCount           int     `mapstructure:"techFoulCount"`
	TeleopOwnershipPoints        int     `mapstructure:"teleopOwnershipPoints"`
	TeleopPoints                 int     `mapstructure:"teleopPoints"`
	TeleopScaleBoostSeconds      float64 `mapstructure:"teleopScaleBoostSec"`
	TeleopScaleForceSeconds      float64 `mapstructure:"teleopScaleForceSec"`
	TeleopScaleOwnershipSeconds  float64 `mapstructure:"teleopOwnershipSec"`
	TeleopSwitchBoostSeconds     float64 `mapstructure:"teleopSwitchBoostSec"`
	TeleopSwitchForceSeconds     float64 `mapstructure:"teleopSwitchForceSec"`
	TeleopSwitchOwnershipSeconds float64 `mapstructure:"teleopSwitchOwnershipSec"`
	TotalPoints                  int     `mapstructure:"totalPoints"`
	VaultBoostPlayed             int     `mapstructure:"vaultBoostPlayed"`
	VaultBoostTotal              int     `mapstructure:"vaultBoostTotal"`
	VaultForcePlayed             int     `mapstructure:"vaultForcePlayed"`
	VaultForceTotal              int     `mapstructure:"vaultForceTotal"`
	VaultLevitatePlayed          int     `mapstructure:"vaultLevitatePlayed"`
	VaultLevitateTotal           int     `mapstructure:"vaultLevitateTotal"`
	VaultPoints                  int     `mapstructure:"vaultPoints"`
	TbaGameData                  string  `mapstructure:"tba_gameData"`
}

type ScoringBreakdownAlliance2019

type ScoringBreakdownAlliance2019 struct {
	AdjustPoints               int    `mapstructure:"adjustPoints"`
	AutoPoints                 int    `mapstructure:"autoPoints"`
	Bay1                       string `mapstructure:"bay1"`
	Bay2                       string `mapstructure:"bay2"`
	Bay3                       string `mapstructure:"bay3"`
	Bay4                       string `mapstructure:"bay4"`
	Bay5                       string `mapstructure:"bay5"`
	Bay6                       string `mapstructure:"bay6"`
	Bay7                       string `mapstructure:"bay7"`
	Bay8                       string `mapstructure:"bay8"`
	CargoPoints                int    `mapstructure:"cargoPoints"`
	CompleteRocketRankingPoint bool   `mapstructure:"completeRocketRankingPoint"`
	CompletedRocketFar         bool   `mapstructure:"completedRocketFar"`
	CompletedRocketNear        bool   `mapstructure:"completedRocketNear"`
	EndgameRobot1              string `mapstructure:"endgameRobot1"`
	EndgameRobot2              string `mapstructure:"endgameRobot2"`
	EndgameRobot3              string `mapstructure:"endgameRobot3"`
	FoulCount                  int    `mapstructure:"foulCount"`
	FoulPoints                 int    `mapstructure:"foulPoints"`
	HabClimbPoints             int    `mapstructure:"habClimbPoints"`
	HabDockingRankingPoint     bool   `mapstructure:"habDockingRankingPoint"`
	HabLineRobot1              string `mapstructure:"habLineRobot1"`
	HabLineRobot2              string `mapstructure:"habLineRobot2"`
	HabLineRobot3              string `mapstructure:"habLineRobot3"`
	HatchPanelPoints           int    `mapstructure:"hatchPanelPoints"`
	LowLeftRocketFar           string `mapstructure:"lowLeftRocketFar"`
	LowLeftRocketNear          string `mapstructure:"lowLeftRocketNear"`
	LowRightRocketFar          string `mapstructure:"lowRightRocketFar"`
	LowRightRocketNear         string `mapstructure:"lowRightRocketNear"`
	MidLeftRocketFar           string `mapstructure:"midLeftRocketFar"`
	MidLeftRocketNear          string `mapstructure:"midLeftRocketNear"`
	MidRightRockerFar          string `mapstructure:"midRightRocketFar"`
	MidRightRocketNear         string `mapstructure:"midRightRocketNear"`
	PreMatchBay1               string `mapstructure:"preMatchBay1"`
	PreMatchBay2               string `mapstructure:"preMatchBay2"`
	PreMatchBay3               string `mapstructure:"preMatchBay3"`
	PreMatchBay6               string `mapstructure:"preMatchBay6"`
	PreMatchBay7               string `mapstructure:"preMatchBay7"`
	PreMatchBay8               string `mapstructure:"preMatchBay8"`
	PreMatchRobot1             string `mapstructure:"preMatchLevelRobot1"`
	PreMatchRobot2             string `mapstructure:"preMatchLevelRobot2"`
	PreMatchRobot3             string `mapstructure:"preMatchLevelRobot3"`
	RankingPoints              int    `mapstructure:"rp"`
	SandStormBonusPoints       int    `mapstructure:"sandStormBonusPoints"`
	TechnicalFoulCount         int    `mapstructure:"techFoulCount"`
	TeleopPoints               int    `mapstructure:"teleopPoints"`
	TopLeftRocketFar           string `mapstructure:"topLeftRocketFar"`
	TopLeftRocketNear          string `mapstructure:"topLeftRocketNear"`
	TopRightRocketFar          string `mapstructure:"topRightRocketFar"`
	TopRightRocketNear         string `mapstructure:"topRightRocketNear"`
	TotalPoints                int    `mapstructure:"totalPoints"`
}

type SortOrder

type SortOrder struct {
	Precision int    `json:"precision"`
	Name      string `json:"name"`
}

type Team

type Team struct {
	Key               string            `json:"key"`
	TeamNumber        int               `json:"team_number"`
	Nickname          string            `json:"nickname"`
	Name              string            `json:"name"`
	City              string            `json:"city"`
	StateProvince     string            `json:"state_prov"`
	Country           string            `json:"country"`
	Address           string            `json:"address"`
	PostalCode        string            `json:"postal_code"`
	GoogleMapsPlaceId string            `json:"gmaps_place_id"`
	GoogleMapsUrl     string            `json:"gmaps_url"`
	Latitude          float64           `json:"lat"`
	Longitude         float64           `json:"long"`
	LocationName      string            `json:"location_name"`
	Website           string            `json:"website"`
	RookieYear        int               `json:"rookie_year"`
	HomeChampionship  map[string]string `json:"home_championship"`
}

type TeamEventStatus

type TeamEventStatus struct {
	Qualification  TeamEventStatusRank     `json:"qual"`
	Alliance       TeamEventStatusAlliance `json:"alliance"`
	Playoff        TeamEventStatusPlayoff  `json:"playoff"`
	AllianceStatus string                  `json:"alliance_status_str"`
	PlayoffStatus  string                  `json:"playoff_status_str"`
	OverallStatus  string                  `json:"overall_status_str"`
	NextMatchKey   string                  `json:"next_match_key"`
	LastMatchKey   string                  `json:"last_match_key"`
}

type TeamEventStatusAlliance

type TeamEventStatusAlliance struct {
	Name   string                        `json:"name"`
	Number int                           `json:"number"`
	Pick   int                           `json:"pick"`
	Backup TeamEventStatusAllianceBackup `json:"backup"`
}

type TeamEventStatusAllianceBackup

type TeamEventStatusAllianceBackup struct {
	Out string `json:"out"`
	In  string `json:"in"`
}

type TeamEventStatusPlayoff

type TeamEventStatusPlayoff struct {
	Level              string           `json:"level"`
	CurrentLevelRecord WinLossTieRecord `json:"current_level_record"`
	Record             WinLossTieRecord `json:"record"`
	Status             string           `json:"status"`
	PlayoffAverage     int              `json:"playoff_average"`
}

type TeamEventStatusRank

type TeamEventStatusRank struct {
	NumberOfTeams int         `json:"num_teams"`
	Ranking       Ranking     `json:"ranking"`
	SortOrderInfo []SortOrder `json:"sort_order_info"`
	Status        string      `json:"status"`
}

type TeamRobot

type TeamRobot struct {
	Year      int    `json:"year"`
	RobotName string `json:"robot_name"`
	Key       string `json:"key"`
	TeamKey   string `json:"team_key"`
}

type TeamSimple

type TeamSimple struct {
	Key           string `json:"key"`
	TeamNumber    int    `json:"team_number"`
	Nickname      string `json:"nickname"`
	Name          string `json:"name"`
	City          string `json:"city"`
	StateProvince string `json:"state_prov"`
	Country       string `json:"country"`
}

type Timeseries2018

type Timeseries2018 struct {
	EventKey                 string `json:"event_key"`
	MatchId                  string `json:"match_id"`
	Mode                     string `json:"mode"`
	Play                     int    `json:"play"`
	TimeRemaining            int    `json:"time_remaining"`
	BlueAutoQuest            int    `json:"blue_auto_quest"`
	BlueBoostCount           int    `json:"blue_boost_count"`
	BlueBoostPlayed          int    `json:"blue_boost_played"`
	BlueCurrentPowerup       string `json:"blue_current_powerup"`
	BlueFaceTheBoss          int    `json:"blue_face_the_boss"`
	BlueForceCount           int    `json:"blue_force_count"`
	BlueForcePlayed          int    `json:"blue_force_played"`
	BlueLevitateCount        int    `json:"blue_levitate_count"`
	BlueLevitatePlayed       int    `json:"blue_levitate_played"`
	BluePowerupTimeRemaining int    `json:"blue_powerup_time_remaining"`
	BlueScaleOwned           int    `json:"blue_scale_owned"`
	BlueScore                int    `json:"blue_score"`
	BlueSwitchOwned          int    `json:"blue_switch_owned"`
	RedAutoQuest             int    `json:"red_auto_quest"`
	RedBoostCount            int    `json:"red_boost_count"`
	RedBoostPlayed           int    `json:"red_boost_played"`
	RedCurrentPowerup        string `json:"red_current_powerup"`
	RedFaceTheBoss           int    `json:"red_face_the_boss"`
	RedForceCount            int    `json:"red_force_count"`
	RedForcePlayed           int    `json:"red_force_played"`
	RedLevitateCount         int    `json:"red_levitate_count"`
	RedLevitatePlayed        int    `json:"red_levitate_played"`
	RedPowerupTimeRemaining  int    `json:"red_powerup_time_remaining"`
	RedScaleOwned            int    `json:"red_scale_owned"`
	RedScore                 int    `json:"red_score"`
	RedSwitchOwned           int    `json:"red_switch_owned"`
}

type Webcast

type Webcast struct {
	Type    string `json:"type"`
	Channel string `json:"channel"`
	File    string `json:"file"`
}

type WinLossTieRecord

type WinLossTieRecord struct {
	Losses int `json:"losses"`
	Ties   int `json:"ties"`
	Wins   int `json:"wins"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL