Documentation
¶
Index ¶
- func GetLeague(leagueID string) (map[string]any, error)
- func GetLeagueSeasons(leagueID string) (map[string]any, error)
- func Init(email string, hash string)
- type Driver
- type Driver_Standings
- type LeagueSeason
- type League_Season_Standings
- type RaceResult
- type Result
- type Session
- type SessionResult
- type Standings
- type Team_Standings
- type Track
- type TrackAsset
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLeagueSeasons ¶ added in v1.1.0
Types ¶
type Driver_Standings ¶ added in v1.1.7
type LeagueSeason ¶
type LeagueSeason struct {
Sessions []Session
}
type League_Season_Standings ¶ added in v1.1.7
type League_Season_Standings struct {
Car_class_id int
Success bool
Season_id int
Car_id int
Standings Standings
League_id int
}
func GetLeagueSeasonStandings ¶ added in v1.1.7
func GetLeagueSeasonStandings(leagueID string, seasonID string) (League_Season_Standings, error)
type RaceResult ¶
type RaceResult struct {
Subsession_id int
League_season_name string
Start_time string
End_time string
Session_results []SessionResult
Event_laps_complete int
Track Track
League_season_id int
RaceID int
}
func GetSession ¶ added in v1.1.0
func GetSession(sessionId int) (RaceResult, error)
type Session ¶
type SessionResult ¶
type SessionResult struct {
Simsession_name string `json:"simsession_name"`
Simsession_type_name string `json:"simsession_type_name"`
Simsession_type string `json:"simsession_type"`
Simsession_subtype string `json:"simsession_subtype"`
Simsession_number int `json:"simsession_number"`
Results []Result
}
type Standings ¶ added in v1.1.7
type Standings struct {
Driver_standings []Driver_Standings
Team_standings []Team_Standings
}
type Team_Standings ¶ added in v1.1.7
type Team_Standings struct {
}
type TrackAsset ¶
Click to show internal directories.
Click to hide internal directories.