Versions in this module Expand all Collapse all v0 v0.1.1 Mar 1, 2023 v0.1.0 Mar 1, 2023 Changes in this version + type CallSignTrim string + func (c *CallSignTrim) UnmarshalJSON(data []byte) error + type Client struct + func NewClient(username string, password string) *Client + func (c *Client) GetFlights(begin time.Time, end time.Time) (flights []Flight, err error) + func (c *Client) GetFlightsByAircraft(icao24 string, begin time.Time, end time.Time) (flights []Flight, err error) + func (c *Client) GetFlightsByArrival(airport string, begin time.Time, end time.Time) (flights []Flight, err error) + func (c *Client) GetFlightsByDeparture(airport string, begin time.Time, end time.Time) (flights []Flight, err error) + func (c *Client) GetFlightsByInterval(begin time.Time, end time.Time) (flights []Flight, err error) + func (c *Client) GetTrackByAircraft(icao24 string, time time.Time) (response GetTracksResponse, err error) + type Flight struct + ArrivalAirportCandidatesCount int + Callsign CallSignTrim + DepartureAirportCandidatesCount int + EstArrivalAirport string + EstArrivalAirportHorizDistance int + EstArrivalAirportVertDistance int + EstDepartureAirport string + EstDepartureAirportHorizDistance int + EstDepartureAirportVertDistance int + FirstSeen int + Icao24 string + LastSeen int + type GetTracksResponse struct + Callsign string + EndTime time.Time + Icao24 string + Paths []Waypoint + StartTime time.Time + type Waypoint struct + BaroAltitude *float64 + Latitude *float64 + Longitude *float64 + OnGround bool + Time time.Time + TrueTrack *float64