amadeus4dev / amadeus-python

Python library for the Amadeus Self-Service travel APIs
https://developers.amadeus.com
MIT License
201 stars 80 forks source link

Filter flight offer search by date and time #194

Closed sdelgadoc closed 1 year ago

sdelgadoc commented 1 year ago

Is there a way to search for flights using date and time range? I am using the flight_offers_search function, but I can only search for all departures in a particular day.

The workaround I am going to implement is to run the time range filtering on the complete result set in my code, but if the API has the functionality built-in, I would rather use that.

Thanks for your help in advance! The toolkit is very helpful.

minjikarin commented 1 year ago

Hello @sdelgadoc, you are right, Flight Offer Search API is only to search with a specific date & time. in Amadeus Self-Service APIs, we don't have date range flight search available. if you are interested in more advanced functionalities in Flight search, I suggest you to consult to Enterprise APIs. :)

minjikarin commented 1 year ago

by the way @sdelgadoc, I have seen your work on integrating Amadeus python SDK into Langchain agent toolkits. thank you so much for that. can I suggest to have a quick call with you to understand better on this ? and perhaps we can improve the Amadeus agent toolkit with more APIs available in the market to improve :) please, let me know your thoughts

sdelgadoc commented 1 year ago

by the way @sdelgadoc, I have seen your work on integrating Amadeus python SDK into Langchain agent toolkits. thank you so much for that. can I suggest to have a quick call with you to understand better on this ? and perhaps we can improve the Amadeus agent toolkit with more APIs available in the market to improve :) please, let me know your thoughts

Thanks for your reply @minjikarin! It would be great to connect. What is the best way to exchange information? Want to send me a private message via twitter? My Twitter (X?) account is @santiagodc.