From 907cf90b11355e5e608b09c5fa859d77e48062a4 Mon Sep 17 00:00:00 2001 From: Henrik Jess Nielsen Date: Wed, 15 Jan 2025 06:27:14 +0100 Subject: [PATCH] [main] sync --- .../TingSomSkalTilføjes/CalenderMaker.py | 12 +- .../TingSomSkalTilføjes/Filtered_Flights.xlsx | Bin 3275 -> 0 bytes .../Filtered_Flights_OPO_CPH.xlsx | Bin 4935 -> 0 bytes .../TingSomSkalTilføjes/FlightPlain.py | 145 +- .../TingSomSkalTilføjes/data_chunks.txt | 1754 +++++++++++++++++ inspiration/TingSomSkalTilføjes/summery.txt | 50 + 6 files changed, 1899 insertions(+), 62 deletions(-) delete mode 100644 inspiration/TingSomSkalTilføjes/Filtered_Flights.xlsx delete mode 100644 inspiration/TingSomSkalTilføjes/Filtered_Flights_OPO_CPH.xlsx create mode 100644 inspiration/TingSomSkalTilføjes/data_chunks.txt create mode 100644 inspiration/TingSomSkalTilføjes/summery.txt diff --git a/inspiration/TingSomSkalTilføjes/CalenderMaker.py b/inspiration/TingSomSkalTilføjes/CalenderMaker.py index 85bbfdc..d93a926 100644 --- a/inspiration/TingSomSkalTilføjes/CalenderMaker.py +++ b/inspiration/TingSomSkalTilføjes/CalenderMaker.py @@ -2,12 +2,12 @@ import calendar from datetime import date, timedelta def skriv_datoer_med_formattering(år): - start_dato = date(år, 1, 1) + start_dato = date(år, 1, 1+10) slut_dato = date(år, 12, 29) dags_differens = timedelta(days=1) print(f"Datoer for året {år}:\n") - + resultat = [] nuværende_dato = start_dato while nuværende_dato <= slut_dato: ugenummer = nuværende_dato.isocalendar()[1] @@ -17,14 +17,16 @@ def skriv_datoer_med_formattering(år): # Tabuler outputtet længere ind if ugedag == "Friday": print(f"{nuværende_dato.strftime('%Y-%m-%d')} Til Porto fra København") + resultat.append({'date': nuværende_dato.strftime('%Y-%m-%d'), 'orgin': 'CPH', 'dest': 'LIS','uge':ugenummer, 'month':nuværende_dato.month}) + if ugedag == "Wednesday": print(f"{nuværende_dato.strftime('%Y-%m-%d')} Til København fra Porto") + resultat.append( { 'date': nuværende_dato.strftime( '%Y-%m-%d' ), 'orgin': 'LIS', 'dest': 'CPH','uge':ugenummer,'month':nuværende_dato.month} ) - # else: - # print(f"{nuværende_dato.strftime('%Y-%m-%d')} ({ugedag})") nuværende_dato += dags_differens - + print(resultat) # Kald funktionen med det ønskede år skriv_datoer_med_formattering(2025) + diff --git a/inspiration/TingSomSkalTilføjes/Filtered_Flights.xlsx b/inspiration/TingSomSkalTilføjes/Filtered_Flights.xlsx deleted file mode 100644 index 69409c1cb94f40f34532846ecdadcdcf4bc902c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3275 zcmZ`*2Q(bY8eYAJwOZ8ZSM(OWMRtjn6@nnR!PV=E7NSHD!c|sp(UT~vtS;JaL~K}f zi4r}CsLS5yPu@N6k%=KM2f&YAC@`OEqL52{Z>$^-xaC;{?s#VsN44RzBlP6HRh za3Ky}_E29hZ{9`1%%Lz*5bTJrhMyZ%jCaoi*;oj*Xd$OuE6h_d!%5As8Z4+D57Jl45G6a0H^DHQ zzv_N{Tkx*757xN2yn? z7-wJ@gp-moNf%j^KC=uXjUSF}ZMtA^5%ay$XBuIRY3xsXBt}fW5rh5VW>3AQN~GND z_+d~0)t}3T*C9n*s8H6o3%gh88E89lNFu~ARy*ik_8U@E_!_qQ`jN#VTAtc0GL{JT zy)j>6W6I__gW+-wjxP?pG0QA(wvUSte|XO5c5N)7@a-X6Q|K~qzn_Qk?*ga?W24{& zIXU?dQQYb$Te7+epU6d%mxlhgZQg9oZmEyf!4-l;e2q6tOx+4` zDF)%UBp$9s$HMml?LJ9PShFsy1{mzUrO>itG0-0+G zwZtO#4&C3KOnp{&#I7rI$wYWcaaddn8}uq)HnNOeFzrEixjJc>xxF7A(G8FM5DF)2 zy-g?{Wu}y&Q&G;d81xSzpf?L%^iTQ8d9cqf?FK3~Vn*Vm7?NrRTu2-gl%p zmyxUKauDCVB(f_21@y21Gz6j57&qUOG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D7_ z50{_G8=p9imQG^jkm4b{G52tFtu4!ExXI+qk;ggpUz~Ykc={Ktt#l{!pYFyV#y<->|by8GCK3?#s$*7)z{hfa?45cj9$;X$ot^bS98bv4>6!3=3Z?iJ!Jd%yOt6ndT{+ z4jEmF=266w^5*0Z8I@2hjcvxzqSkI@x((WCRdRG&AX%I;Z`S3OeClClu#L{1I^<{{=v6#3#{;m=P0rqH% z&?d<@NB2XCu@(*GhJl6(@uaWPz%z^a4GkUkb5jzCbX1884N1hCztqWe{q?|8t=qh$mn?H7nthr74EySJ60zo$L)?$1c7NJjmPq&}%QPZKgEXj`6 zuk*rNdDIj{&h3Y(i}Mw98c-Kz_J!9T#o$p$&^APAI$TpKSnXic6gLiHk6B$={z|5? zuguxxHPG32%feGJC#EKv<%s8l;YmPfN?fEX59J%Rey4&O%uPoOBogG%Ozh)E^(pW8 zsisC8K~W!WXcn*PcrP_%Kk?rA;)uI-Vw2k1lp7)NT^)AFMz-r_S?qvf;(&$38q99z z-A&ly1CldiaorQvBHumi-l}1y!-u&yFU&#yWce4nfzycMHsg {destination}" + + average_price = sum(f["price"] for f in parsed_flights) / len(parsed_flights) + first_departure = parsed_flights[0]["departure"]["iataCode"] + last_arrival = parsed_flights[-1]["arrival"]["iataCode"] + + return f"{departure_date}: {first_departure} -> {last_arrival} - {average_price:.2f}" # Example usage if __name__ == "__main__": - client_id = 'uxDqIh36xPAUvpXnXynwAnH86pGBdIch' - client_secret = 'xTSLooNZpJWantb5' + client_id = "ABRGQv6U7IWAYxwwmjqAOPUDGvuFMSjw" + client_secret = "BcwpSKf3FICJIxaw" + travel_days = [{'date': '2025-01-15', 'orgin': 'LIS', 'dest': 'CPH', 'uge': 3, 'month': 1}, {'date': '2025-01-17', 'orgin': 'CPH', 'dest': 'LIS', 'uge': 3, 'month': 1}, {'date': '2025-01-29', 'orgin': 'LIS', 'dest': 'CPH', 'uge': 5, 'month': 1}, {'date': '2025-01-31', 'orgin': 'CPH', 'dest': 'LIS', 'uge': 5, 'month': 1}, {'date': '2025-02-12', 'orgin': 'LIS', 'dest': 'CPH', 'uge': 7, 'month': 2}, {'date': '2025-02-14', 'orgin': 'CPH', 'dest': 'LIS', 'uge': 7, 'month': 2}, {'date': '2025-02-26', 'orgin': 'LIS', 'dest': 'CPH', 'uge': 9, 'month': 2}, {'date': '2025-02-28', 'orgin': 'CPH', 'dest': 'LIS', 'uge': 9, 'month': 2}, {'date': '2025-03-12', 'orgin': 'LIS', 'dest': 'CPH', 'uge': 11, 'month': 3}, {'date': '2025-03-14', 'orgin': 'CPH', 'dest': 'LIS', 'uge': 11, 'month': 3}, {'date': '2025-03-26', 'orgin': 'LIS', 'dest': 'CPH', 'uge': 13, 'month': 3}, {'date': '2025-03-28', 'orgin': 'CPH', 'dest': 'LIS', 'uge': 13, 'month': 3}, {'date': '2025-04-09', 'orgin': 'LIS', 'dest': 'CPH', 'uge': 15, 'month': 4}, {'date': '2025-04-11', 'orgin': 'CPH', 'dest': 'LIS', 'uge': 15, 'month': 4}, {'date': '2025-04-23', 'orgin': 'LIS', 'dest': 'CPH', 'uge': 17, 'month': 4}, {'date': '2025-04-25', 'orgin': 'CPH', 'dest': 'LIS', 'uge': 17, 'month': 4}, {'date': '2025-05-07', 'orgin': 'LIS', 'dest': 'CPH', 'uge': 19, 'month': 5}, {'date': '2025-05-09', 'orgin': 'CPH', 'dest': 'LIS', 'uge': 19, 'month': 5}, {'date': '2025-05-21', 'orgin': 'LIS', 'dest': 'CPH', 'uge': 21, 'month': 5}, {'date': '2025-05-23', 'orgin': 'CPH', 'dest': 'LIS', 'uge': 21, 'month': 5}, {'date': '2025-06-04', 'orgin': 'LIS', 'dest': 'CPH', 'uge': 23, 'month': 6}, {'date': '2025-06-06', 'orgin': 'CPH', 'dest': 'LIS', 'uge': 23, 'month': 6}, {'date': '2025-06-18', 'orgin': 'LIS', 'dest': 'CPH', 'uge': 25, 'month': 6}, {'date': '2025-06-20', 'orgin': 'CPH', 'dest': 'LIS', 'uge': 25, 'month': 6}, {'date': '2025-07-02', 'orgin': 'LIS', 'dest': 'CPH', 'uge': 27, 'month': 7}, {'date': '2025-07-04', 'orgin': 'CPH', 'dest': 'LIS', 'uge': 27, 'month': 7}, {'date': '2025-07-16', 'orgin': 'LIS', 'dest': 'CPH', 'uge': 29, 'month': 7}, {'date': '2025-07-18', 'orgin': 'CPH', 'dest': 'LIS', 'uge': 29, 'month': 7}, {'date': '2025-07-30', 'orgin': 'LIS', 'dest': 'CPH', 'uge': 31, 'month': 7}, {'date': '2025-08-01', 'orgin': 'CPH', 'dest': 'LIS', 'uge': 31, 'month': 8}, {'date': '2025-08-13', 'orgin': 'LIS', 'dest': 'CPH', 'uge': 33, 'month': 8}, {'date': '2025-08-15', 'orgin': 'CPH', 'dest': 'LIS', 'uge': 33, 'month': 8}, {'date': '2025-08-27', 'orgin': 'LIS', 'dest': 'CPH', 'uge': 35, 'month': 8}, {'date': '2025-08-29', 'orgin': 'CPH', 'dest': 'LIS', 'uge': 35, 'month': 8}, {'date': '2025-09-10', 'orgin': 'LIS', 'dest': 'CPH', 'uge': 37, 'month': 9}, {'date': '2025-09-12', 'orgin': 'CPH', 'dest': 'LIS', 'uge': 37, 'month': 9}, {'date': '2025-09-24', 'orgin': 'LIS', 'dest': 'CPH', 'uge': 39, 'month': 9}, {'date': '2025-09-26', 'orgin': 'CPH', 'dest': 'LIS', 'uge': 39, 'month': 9}, {'date': '2025-10-08', 'orgin': 'LIS', 'dest': 'CPH', 'uge': 41, 'month': 10}, {'date': '2025-10-10', 'orgin': 'CPH', 'dest': 'LIS', 'uge': 41, 'month': 10}, {'date': '2025-10-22', 'orgin': 'LIS', 'dest': 'CPH', 'uge': 43, 'month': 10}, {'date': '2025-10-24', 'orgin': 'CPH', 'dest': 'LIS', 'uge': 43, 'month': 10}, {'date': '2025-11-05', 'orgin': 'LIS', 'dest': 'CPH', 'uge': 45, 'month': 11}, {'date': '2025-11-07', 'orgin': 'CPH', 'dest': 'LIS', 'uge': 45, 'month': 11}, {'date': '2025-11-19', 'orgin': 'LIS', 'dest': 'CPH', 'uge': 47, 'month': 11}, {'date': '2025-11-21', 'orgin': 'CPH', 'dest': 'LIS', 'uge': 47, 'month': 11}, {'date': '2025-12-03', 'orgin': 'LIS', 'dest': 'CPH', 'uge': 49, 'month': 12}, {'date': '2025-12-05', 'orgin': 'CPH', 'dest': 'LIS', 'uge': 49, 'month': 12}, {'date': '2025-12-17', 'orgin': 'LIS', 'dest': 'CPH', 'uge': 51, 'month': 12}, {'date': '2025-12-19', 'orgin': 'CPH', 'dest': 'LIS', 'uge': 51, 'month': 12}] amadeus_client = AmadeusClient( client_id, client_secret ) + with open( "summery.txt", 'w' ) as fp: + for days in travel_days: + origin = days['orgin'] + destination = days['dest'] + departure_date = days['date'] - try: - #flights = amadeus_client.find_cheapest_flights( - # origin = 'LIS', - # destination = 'CPH', - # departure_date = '2025-01-15', - # adults = 1, - #) - #pprint( flights ) - #with open( "flights.json", "w" ) as file: - # json.dump( flights, file, indent = 4 ) - with open( "flights.json", "r" ) as file: - flights = json.load( file ) + try: + summary = amadeus_client.get_flight_summary( departure_date, origin, destination ) + print( summary ) + fp.writelines( summary + '\n' ) + except ResponseError as error: + print( f"An error occurred: {error}" ) - for flight_offer in flights: - itineraries = flight_offer.get( 'itineraries', [] ) - result = [] - price = flight_offer.get( 'price', { } ).get( 'total', 0 ) - for itinerary in itineraries: - segments = itinerary.get( 'segments', [] ) - for segment in segments: - numberOfStops = segment.get( 'numberOfStops', -1 ) - if numberOfStops == 0: - departure = segment.get( 'departure', { } ) - arrival = segment.get( 'arrival', { } ) - travel_time = datetime.fromisoformat( str(arrival['at']) ) - datetime.fromisoformat( str(departure['at']) ) - - result.append( { - "departure": { - "iataCode": departure.get( "iataCode" ), - "at": departure.get( "at" ), - }, - "arrival": { - "iataCode": arrival.get( "iataCode" ), - "at": arrival.get( "at" ), - } - , - "travel_time": { - "time":travel_time, - } - } ) - pprint( result ) - except ResponseError as error: - print( f"An error occurred: {error}" ) \ No newline at end of file diff --git a/inspiration/TingSomSkalTilføjes/data_chunks.txt b/inspiration/TingSomSkalTilføjes/data_chunks.txt new file mode 100644 index 0000000..6893f74 --- /dev/null +++ b/inspiration/TingSomSkalTilføjes/data_chunks.txt @@ -0,0 +1,1754 @@ +[ + { + "departure": { + "iataCode": "LIS", + "at": "2025-01-15T07:05:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-01-15T11:50:00" + }, + "travel_time": 4.75, + "price": 116.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-01-15T19:00:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-01-15T23:45:00" + }, + "travel_time": 4.75, + "price": 116.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-01-15T07:05:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-01-15T11:50:00" + }, + "travel_time": 4.75, + "price": 141.12 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-01-15T19:00:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-01-15T23:45:00" + }, + "travel_time": 4.75, + "price": 141.12 + } +],[ + { + "departure": { + "iataCode": "CPH", + "at": "2025-01-17T06:00:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-01-17T08:55:00" + }, + "travel_time": 2.9166666666666665, + "price": 188.41 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-01-17T12:40:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-01-17T15:35:00" + }, + "travel_time": 2.9166666666666665, + "price": 378.8 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-01-17T12:40:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-01-17T15:35:00" + }, + "travel_time": 2.9166666666666665, + "price": 556.95 + } +],[ + { + "departure": { + "iataCode": "LIS", + "at": "2025-01-29T07:05:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-01-29T11:50:00" + }, + "travel_time": 4.75, + "price": 116.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-01-29T19:00:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-01-29T23:45:00" + }, + "travel_time": 4.75, + "price": 116.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-01-29T07:05:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-01-29T11:50:00" + }, + "travel_time": 4.75, + "price": 141.12 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-01-29T19:00:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-01-29T23:45:00" + }, + "travel_time": 4.75, + "price": 141.12 + } +],[ + { + "departure": { + "iataCode": "CPH", + "at": "2025-01-31T06:00:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-01-31T08:55:00" + }, + "travel_time": 2.9166666666666665, + "price": 128.8 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-01-31T06:00:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-01-31T08:55:00" + }, + "travel_time": 2.9166666666666665, + "price": 188.41 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-01-31T12:40:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-01-31T15:35:00" + }, + "travel_time": 2.9166666666666665, + "price": 378.8 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-01-31T12:40:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-01-31T15:35:00" + }, + "travel_time": 2.9166666666666665, + "price": 556.95 + } +],[ + { + "departure": { + "iataCode": "LIS", + "at": "2025-02-12T07:05:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-02-12T11:50:00" + }, + "travel_time": 4.75, + "price": 129.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-02-12T19:00:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-02-12T23:45:00" + }, + "travel_time": 4.75, + "price": 145.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-02-12T07:05:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-02-12T11:50:00" + }, + "travel_time": 4.75, + "price": 155.12 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-02-12T19:00:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-02-12T23:45:00" + }, + "travel_time": 4.75, + "price": 180.12 + } +],[ + { + "departure": { + "iataCode": "CPH", + "at": "2025-02-14T06:00:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-02-14T08:55:00" + }, + "travel_time": 2.9166666666666665, + "price": 197.8 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-02-14T12:40:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-02-14T15:35:00" + }, + "travel_time": 2.9166666666666665, + "price": 421.8 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-02-14T06:00:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-02-14T08:55:00" + }, + "travel_time": 2.9166666666666665, + "price": 455.95 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-02-14T12:40:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-02-14T15:35:00" + }, + "travel_time": 2.9166666666666665, + "price": 998.95 + } +],[ + { + "departure": { + "iataCode": "LIS", + "at": "2025-02-26T19:00:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-02-26T23:45:00" + }, + "travel_time": 4.75, + "price": 145.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-02-26T19:00:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-02-26T23:45:00" + }, + "travel_time": 4.75, + "price": 180.12 + } +],[ + { + "departure": { + "iataCode": "CPH", + "at": "2025-02-28T06:00:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-02-28T08:55:00" + }, + "travel_time": 2.9166666666666665, + "price": 128.8 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-02-28T12:40:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-02-28T15:35:00" + }, + "travel_time": 2.9166666666666665, + "price": 142.8 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-02-28T06:00:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-02-28T08:55:00" + }, + "travel_time": 2.9166666666666665, + "price": 188.41 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-02-28T12:40:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-02-28T15:35:00" + }, + "travel_time": 2.9166666666666665, + "price": 211.12 + } +],[ + { + "departure": { + "iataCode": "LIS", + "at": "2025-03-12T07:05:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-03-12T11:50:00" + }, + "travel_time": 4.75, + "price": 145.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-03-12T19:00:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-03-12T23:45:00" + }, + "travel_time": 4.75, + "price": 163.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-03-12T07:05:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-03-12T11:50:00" + }, + "travel_time": 4.75, + "price": 180.12 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-03-12T19:00:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-03-12T23:45:00" + }, + "travel_time": 4.75, + "price": 198.12 + } +],[ + { + "departure": { + "iataCode": "CPH", + "at": "2025-03-14T12:40:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-03-14T15:35:00" + }, + "travel_time": 2.9166666666666665, + "price": 157.8 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-03-14T12:40:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-03-14T15:35:00" + }, + "travel_time": 2.9166666666666665, + "price": 279.24 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-03-14T06:00:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-03-14T08:55:00" + }, + "travel_time": 2.9166666666666665, + "price": 324.95 + } +],[ + { + "departure": { + "iataCode": "LIS", + "at": "2025-03-26T07:05:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-03-26T11:50:00" + }, + "travel_time": 4.75, + "price": 163.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-03-26T07:05:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-03-26T11:50:00" + }, + "travel_time": 4.75, + "price": 198.12 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-03-26T19:00:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-03-26T23:45:00" + }, + "travel_time": 4.75, + "price": 207.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-03-26T19:00:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-03-26T23:45:00" + }, + "travel_time": 4.75, + "price": 277.12 + } +],[ + { + "departure": { + "iataCode": "CPH", + "at": "2025-03-28T06:00:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-03-28T08:55:00" + }, + "travel_time": 2.9166666666666665, + "price": 128.8 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-03-28T12:40:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-03-28T15:35:00" + }, + "travel_time": 2.9166666666666665, + "price": 175.8 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-03-28T06:00:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-03-28T08:55:00" + }, + "travel_time": 2.9166666666666665, + "price": 188.41 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-03-28T12:40:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-03-28T15:35:00" + }, + "travel_time": 2.9166666666666665, + "price": 279.24 + } +],[ + { + "departure": { + "iataCode": "LIS", + "at": "2025-04-09T18:25:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-04-09T23:05:00" + }, + "travel_time": 4.666666666666667, + "price": 139.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-04-09T18:25:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-04-09T23:05:00" + }, + "travel_time": 4.666666666666667, + "price": 155.12 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-04-09T07:10:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-04-09T11:50:00" + }, + "travel_time": 4.666666666666667, + "price": 160.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-04-09T07:10:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-04-09T11:50:00" + }, + "travel_time": 4.666666666666667, + "price": 180.12 + } +],[ + { + "departure": { + "iataCode": "CPH", + "at": "2025-04-11T12:45:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-04-11T15:50:00" + }, + "travel_time": 3.0833333333333335, + "price": 998.95 + } +],[ + { + "departure": { + "iataCode": "LIS", + "at": "2025-04-23T18:25:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-04-23T23:05:00" + }, + "travel_time": 4.666666666666667, + "price": 185.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-04-23T07:10:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-04-23T11:50:00" + }, + "travel_time": 4.666666666666667, + "price": 207.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-04-23T18:25:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-04-23T23:05:00" + }, + "travel_time": 4.666666666666667, + "price": 237.12 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-04-23T07:10:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-04-23T11:50:00" + }, + "travel_time": 4.666666666666667, + "price": 277.12 + } +],[ + { + "departure": { + "iataCode": "CPH", + "at": "2025-04-25T12:45:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-04-25T15:50:00" + }, + "travel_time": 3.0833333333333335, + "price": 197.8 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-04-25T12:45:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-04-25T15:50:00" + }, + "travel_time": 3.0833333333333335, + "price": 324.95 + } +],[ + { + "departure": { + "iataCode": "LIS", + "at": "2025-05-07T07:10:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-05-07T11:50:00" + }, + "travel_time": 4.666666666666667, + "price": 155.12 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-05-07T18:25:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-05-07T23:05:00" + }, + "travel_time": 4.666666666666667, + "price": 237.12 + } +],[ + { + "departure": { + "iataCode": "CPH", + "at": "2025-05-09T12:45:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-05-09T15:50:00" + }, + "travel_time": 3.0833333333333335, + "price": 243.8 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-05-09T12:45:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-05-09T15:50:00" + }, + "travel_time": 3.0833333333333335, + "price": 365.95 + } +],[ + { + "departure": { + "iataCode": "LIS", + "at": "2025-05-21T07:10:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-05-21T11:50:00" + }, + "travel_time": 4.666666666666667, + "price": 145.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-05-21T18:25:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-05-21T23:05:00" + }, + "travel_time": 4.666666666666667, + "price": 155.12 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-05-21T07:10:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-05-21T11:50:00" + }, + "travel_time": 4.666666666666667, + "price": 180.12 + } +],[ + { + "departure": { + "iataCode": "CPH", + "at": "2025-05-23T12:45:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-05-23T15:50:00" + }, + "travel_time": 3.0833333333333335, + "price": 157.8 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-05-23T12:45:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-05-23T15:50:00" + }, + "travel_time": 3.0833333333333335, + "price": 240.52 + } +],[ + { + "departure": { + "iataCode": "LIS", + "at": "2025-06-04T18:25:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-06-04T23:05:00" + }, + "travel_time": 4.666666666666667, + "price": 129.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-06-04T18:25:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-06-04T23:05:00" + }, + "travel_time": 4.666666666666667, + "price": 155.12 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-06-04T07:10:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-06-04T11:50:00" + }, + "travel_time": 4.666666666666667, + "price": 163.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-06-04T07:10:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-06-04T11:50:00" + }, + "travel_time": 4.666666666666667, + "price": 198.12 + } +],[ + { + "departure": { + "iataCode": "CPH", + "at": "2025-06-06T12:45:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-06-06T15:50:00" + }, + "travel_time": 3.0833333333333335, + "price": 234.8 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-06-06T12:45:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-06-06T15:50:00" + }, + "travel_time": 3.0833333333333335, + "price": 365.95 + } +],[ + { + "departure": { + "iataCode": "LIS", + "at": "2025-06-18T07:10:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-06-18T11:50:00" + }, + "travel_time": 4.666666666666667, + "price": 155.12 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-06-18T18:25:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-06-18T23:05:00" + }, + "travel_time": 4.666666666666667, + "price": 155.12 + } +],[ + { + "departure": { + "iataCode": "CPH", + "at": "2025-06-20T12:45:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-06-20T15:50:00" + }, + "travel_time": 3.0833333333333335, + "price": 190.8 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-06-20T12:45:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-06-20T15:50:00" + }, + "travel_time": 3.0833333333333335, + "price": 324.95 + } +],[ + { + "departure": { + "iataCode": "LIS", + "at": "2025-07-02T07:10:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-07-02T11:50:00" + }, + "travel_time": 4.666666666666667, + "price": 116.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-07-02T07:10:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-07-02T11:50:00" + }, + "travel_time": 4.666666666666667, + "price": 141.12 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-07-02T18:25:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-07-02T23:05:00" + }, + "travel_time": 4.666666666666667, + "price": 160.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-07-02T18:25:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-07-02T23:05:00" + }, + "travel_time": 4.666666666666667, + "price": 180.12 + } +],[ + { + "departure": { + "iataCode": "CPH", + "at": "2025-07-04T12:45:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-07-04T15:50:00" + }, + "travel_time": 3.0833333333333335, + "price": 234.8 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-07-04T07:40:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-07-04T10:35:00" + }, + "travel_time": 2.9166666666666665, + "price": 264.95 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-07-04T12:45:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-07-04T15:50:00" + }, + "travel_time": 3.0833333333333335, + "price": 365.95 + } +],[ + { + "departure": { + "iataCode": "LIS", + "at": "2025-07-16T18:25:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-07-16T23:05:00" + }, + "travel_time": 4.666666666666667, + "price": 139.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-07-16T18:25:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-07-16T23:05:00" + }, + "travel_time": 4.666666666666667, + "price": 155.12 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-07-16T07:10:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-07-16T11:50:00" + }, + "travel_time": 4.666666666666667, + "price": 160.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-07-16T07:10:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-07-16T11:50:00" + }, + "travel_time": 4.666666666666667, + "price": 180.12 + } +],[ + { + "departure": { + "iataCode": "CPH", + "at": "2025-07-18T07:40:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-07-18T10:35:00" + }, + "travel_time": 2.9166666666666665, + "price": 184.52 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-07-18T12:45:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-07-18T15:50:00" + }, + "travel_time": 3.0833333333333335, + "price": 234.8 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-07-18T12:45:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-07-18T15:50:00" + }, + "travel_time": 3.0833333333333335, + "price": 365.95 + } +],[ + { + "departure": { + "iataCode": "LIS", + "at": "2025-07-30T07:10:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-07-30T11:50:00" + }, + "travel_time": 4.666666666666667, + "price": 251.12 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-07-30T18:25:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-07-30T23:05:00" + }, + "travel_time": 4.666666666666667, + "price": 304.12 + } +],[ + { + "departure": { + "iataCode": "CPH", + "at": "2025-08-01T07:40:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-08-01T10:35:00" + }, + "travel_time": 2.9166666666666665, + "price": 143.41 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-08-01T12:45:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-08-01T15:50:00" + }, + "travel_time": 3.0833333333333335, + "price": 152.8 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-08-01T12:45:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-08-01T15:50:00" + }, + "travel_time": 3.0833333333333335, + "price": 211.12 + } +],[ + { + "departure": { + "iataCode": "LIS", + "at": "2025-08-13T18:25:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-08-13T23:05:00" + }, + "travel_time": 4.666666666666667, + "price": 160.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-08-13T18:25:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-08-13T23:05:00" + }, + "travel_time": 4.666666666666667, + "price": 180.12 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-08-13T07:10:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-08-13T11:50:00" + }, + "travel_time": 4.666666666666667, + "price": 200.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-08-13T07:10:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-08-13T11:50:00" + }, + "travel_time": 4.666666666666667, + "price": 237.12 + } +],[ + { + "departure": { + "iataCode": "CPH", + "at": "2025-08-15T07:40:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-08-15T10:35:00" + }, + "travel_time": 2.9166666666666665, + "price": 103.35 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-08-15T12:45:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-08-15T15:50:00" + }, + "travel_time": 3.0833333333333335, + "price": 128.8 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-08-15T12:45:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-08-15T15:50:00" + }, + "travel_time": 3.0833333333333335, + "price": 188.41 + } +],[ + { + "departure": { + "iataCode": "LIS", + "at": "2025-08-27T07:10:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-08-27T11:50:00" + }, + "travel_time": 4.666666666666667, + "price": 116.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-08-27T07:10:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-08-27T11:50:00" + }, + "travel_time": 4.666666666666667, + "price": 141.12 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-08-27T18:25:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-08-27T23:05:00" + }, + "travel_time": 4.666666666666667, + "price": 180.12 + } +],[ + { + "departure": { + "iataCode": "CPH", + "at": "2025-08-29T12:45:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-08-29T15:50:00" + }, + "travel_time": 3.0833333333333335, + "price": 240.52 + } +],[ + { + "departure": { + "iataCode": "LIS", + "at": "2025-09-10T18:25:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-09-10T23:05:00" + }, + "travel_time": 4.666666666666667, + "price": 139.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-09-10T18:25:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-09-10T23:05:00" + }, + "travel_time": 4.666666666666667, + "price": 155.12 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-09-10T07:10:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-09-10T11:50:00" + }, + "travel_time": 4.666666666666667, + "price": 160.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-09-10T07:10:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-09-10T11:50:00" + }, + "travel_time": 4.666666666666667, + "price": 180.12 + } +],[ + { + "departure": { + "iataCode": "CPH", + "at": "2025-09-12T12:45:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-09-12T15:50:00" + }, + "travel_time": 3.0833333333333335, + "price": 212.8 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-09-12T12:45:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-09-12T15:50:00" + }, + "travel_time": 3.0833333333333335, + "price": 365.95 + } +],[ + { + "departure": { + "iataCode": "LIS", + "at": "2025-09-24T07:10:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-09-24T11:50:00" + }, + "travel_time": 4.666666666666667, + "price": 116.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-09-24T07:10:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-09-24T11:50:00" + }, + "travel_time": 4.666666666666667, + "price": 141.12 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-09-24T18:25:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-09-24T23:05:00" + }, + "travel_time": 4.666666666666667, + "price": 185.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-09-24T18:25:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-09-24T23:05:00" + }, + "travel_time": 4.666666666666667, + "price": 237.12 + } +],[ + { + "departure": { + "iataCode": "CPH", + "at": "2025-09-26T12:45:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-09-26T15:50:00" + }, + "travel_time": 3.0833333333333335, + "price": 197.8 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-09-26T12:45:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-09-26T15:50:00" + }, + "travel_time": 3.0833333333333335, + "price": 324.95 + } +],[ + { + "departure": { + "iataCode": "LIS", + "at": "2025-10-08T07:10:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-10-08T11:50:00" + }, + "travel_time": 4.666666666666667, + "price": 145.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-10-08T18:25:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-10-08T23:05:00" + }, + "travel_time": 4.666666666666667, + "price": 145.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-10-08T07:10:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-10-08T11:50:00" + }, + "travel_time": 4.666666666666667, + "price": 180.12 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-10-08T18:25:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-10-08T23:05:00" + }, + "travel_time": 4.666666666666667, + "price": 180.12 + } +],[ + { + "departure": { + "iataCode": "CPH", + "at": "2025-10-10T12:45:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-10-10T15:50:00" + }, + "travel_time": 3.0833333333333335, + "price": 197.8 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-10-10T12:45:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-10-10T15:50:00" + }, + "travel_time": 3.0833333333333335, + "price": 324.95 + } +],[ + { + "departure": { + "iataCode": "LIS", + "at": "2025-10-22T07:10:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-10-22T11:50:00" + }, + "travel_time": 4.666666666666667, + "price": 116.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-10-22T07:10:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-10-22T11:50:00" + }, + "travel_time": 4.666666666666667, + "price": 141.12 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-10-22T18:25:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-10-22T23:05:00" + }, + "travel_time": 4.666666666666667, + "price": 145.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-10-22T18:25:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-10-22T23:05:00" + }, + "travel_time": 4.666666666666667, + "price": 180.12 + } +],[ + { + "departure": { + "iataCode": "CPH", + "at": "2025-10-24T12:45:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-10-24T15:50:00" + }, + "travel_time": 3.0833333333333335, + "price": 175.8 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-10-24T12:45:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-10-24T15:50:00" + }, + "travel_time": 3.0833333333333335, + "price": 279.24 + } +],[ + { + "departure": { + "iataCode": "LIS", + "at": "2025-11-05T07:05:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-11-05T11:50:00" + }, + "travel_time": 4.75, + "price": 116.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-11-05T18:55:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-11-05T23:40:00" + }, + "travel_time": 4.75, + "price": 185.62 + } +],[ + { + "departure": { + "iataCode": "CPH", + "at": "2025-11-07T06:00:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-11-07T09:00:00" + }, + "travel_time": 3.0, + "price": 142.8 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-11-07T12:40:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-11-07T15:40:00" + }, + "travel_time": 3.0, + "price": 142.8 + } +],[ + { + "departure": { + "iataCode": "LIS", + "at": "2025-11-19T07:05:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-11-19T11:50:00" + }, + "travel_time": 4.75, + "price": 116.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-11-19T18:55:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-11-19T23:40:00" + }, + "travel_time": 4.75, + "price": 116.62 + } +],[ + { + "departure": { + "iataCode": "CPH", + "at": "2025-11-21T06:00:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-11-21T09:00:00" + }, + "travel_time": 3.0, + "price": 128.8 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-11-21T12:40:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-11-21T15:40:00" + }, + "travel_time": 3.0, + "price": 142.8 + } +],[ + { + "departure": { + "iataCode": "LIS", + "at": "2025-12-03T07:05:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-12-03T11:50:00" + }, + "travel_time": 4.75, + "price": 116.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-12-03T18:55:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-12-03T23:40:00" + }, + "travel_time": 4.75, + "price": 116.62 + } +],[],[ + { + "departure": { + "iataCode": "LIS", + "at": "2025-12-17T07:05:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-12-17T11:50:00" + }, + "travel_time": 4.75, + "price": 116.62 + }, + { + "departure": { + "iataCode": "LIS", + "at": "2025-12-17T18:55:00" + }, + "arrival": { + "iataCode": "CPH", + "at": "2025-12-17T23:40:00" + }, + "travel_time": 4.75, + "price": 116.62 + } +],[ + { + "departure": { + "iataCode": "CPH", + "at": "2025-12-19T06:00:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-12-19T09:00:00" + }, + "travel_time": 3.0, + "price": 128.8 + }, + { + "departure": { + "iataCode": "CPH", + "at": "2025-12-19T12:40:00" + }, + "arrival": { + "iataCode": "LIS", + "at": "2025-12-19T15:40:00" + }, + "travel_time": 3.0, + "price": 157.8 + } +], \ No newline at end of file diff --git a/inspiration/TingSomSkalTilføjes/summery.txt b/inspiration/TingSomSkalTilføjes/summery.txt new file mode 100644 index 0000000..265c596 --- /dev/null +++ b/inspiration/TingSomSkalTilføjes/summery.txt @@ -0,0 +1,50 @@ +2025-01-15: LIS -> CPH - 128.87 +2025-01-17: CPH -> LIS - 374.72 +2025-01-29: LIS -> CPH - 128.87 +2025-01-31: CPH -> LIS - 313.24 +2025-02-12: LIS -> CPH - 152.62 +2025-02-14: CPH -> LIS - 518.62 +2025-02-26: LIS -> CPH - 162.87 +2025-02-28: CPH -> LIS - 167.78 +2025-03-12: LIS -> CPH - 171.87 +2025-03-14: CPH -> LIS - 254.00 +2025-03-26: LIS -> CPH - 211.62 +2025-03-28: CPH -> LIS - 193.06 +2025-04-09: LIS -> CPH - 158.87 +2025-04-11: CPH -> LIS - 998.95 +2025-04-23: LIS -> CPH - 226.87 +2025-04-25: CPH -> LIS - 261.38 +2025-05-07: LIS -> CPH - 196.12 +2025-05-09: CPH -> LIS - 304.88 +2025-05-21: LIS -> CPH - 160.29 +2025-05-23: CPH -> LIS - 199.16 +2025-06-04: LIS -> CPH - 161.62 +2025-06-06: CPH -> LIS - 300.38 +2025-06-18: LIS -> CPH - 155.12 +2025-06-20: CPH -> LIS - 257.88 +2025-07-02: LIS -> CPH - 149.62 +2025-07-04: CPH -> LIS - 288.57 +2025-07-16: LIS -> CPH - 158.87 +2025-07-18: CPH -> LIS - 261.76 +2025-07-30: LIS -> CPH - 277.62 +2025-08-01: CPH -> LIS - 169.11 +2025-08-13: LIS -> CPH - 194.62 +2025-08-15: CPH -> LIS - 140.19 +2025-08-27: LIS -> CPH - 145.95 +2025-08-29: CPH -> LIS - 240.52 +2025-09-10: LIS -> CPH - 158.87 +2025-09-12: CPH -> LIS - 289.38 +2025-09-24: LIS -> CPH - 170.12 +2025-09-26: CPH -> LIS - 261.38 +2025-10-08: LIS -> CPH - 162.87 +2025-10-10: CPH -> LIS - 261.38 +2025-10-22: LIS -> CPH - 145.87 +2025-10-24: CPH -> LIS - 227.52 +2025-11-05: LIS -> CPH - 151.12 +2025-11-07: CPH -> LIS - 142.80 +2025-11-19: LIS -> CPH - 116.62 +2025-11-21: CPH -> LIS - 135.80 +2025-12-03: LIS -> CPH - 116.62 +No flights found for 2025-12-05: CPH -> LIS +2025-12-17: LIS -> CPH - 116.62 +2025-12-19: CPH -> LIS - 143.30