File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ def main() -> None:
4444 if flight_tracks .data :
4545 print (flight_tracks .data [0 ].fr24_id )
4646
47- print (client .historic .events .get_full (flight_ids = ["3a55c027" ], event_types = ["all" ]))
48- print (client .historic .events .get_light (flight_ids = ["3a55c027" ], event_types = ["all" ]))
47+ print (client .historic .flight_events .get_full (flight_ids = ["3a55c027" ], event_types = ["all" ]))
48+ print (client .historic .flight_events .get_light (flight_ids = ["3a55c027" ], event_types = ["all" ]))
4949 print (client .usage .get ())
5050
5151if __name__ == "__main__" :
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ class HistoricResource:
2626
2727 def __init__ (self , transport : HttpTransport ):
2828 self .flight_positions = HistoricPositionsResource (transport )
29- self .events = HistoricEventsResource (transport )
29+ self .flight_events = HistoricEventsResource (transport )
3030
3131__all__ = [
3232 "AirlinesResource" ,
You can’t perform that action at this time.
0 commit comments