Real events for FindEvents and real API for finding flights. TODO invoice creation

This commit is contained in:
Steve Androulakis
2025-01-03 21:11:48 -08:00
parent f5cf7286a2
commit f12c6ac471
8 changed files with 506 additions and 24 deletions

View File

@@ -0,0 +1,8 @@
from tools.find_events import find_events
import json
# Example usage
if __name__ == "__main__":
search_args = {"city": "Sydney", "month": "July"}
results = find_events(search_args)
print(json.dumps(results, indent=2))

View File

@@ -0,0 +1,7 @@
from tools.search_flights import search_flights
import json
if __name__ == "__main__":
# Suppose user typed "new" for New York, "lon" for London
flights = search_flights("London", "JFK", "2025-01-15", "2025-01-23")
print(json.dumps(flights, indent=2))