We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58676c4 commit 16a7305Copy full SHA for 16a7305
FlightDealsStart/flight_search.py
@@ -4,10 +4,10 @@
4
class FlightSearch:
5
# This class is responsible for talking to the Flight Search API.
6
# https://tequila.kiwi.com/
7
- # https://api.tequila.kiwi.com/v2/search?
+ # Docu -> https://tequila.kiwi.com/portal/docs/tequila_api/search_api
8
9
def __init__(self, api_key: str):
10
- self.__API_URL = ""
+ self.__API_URL = f"https://api.tequila.kiwi.com/v2/search?fly_from={departure}&fly_to={arrival}"
11
self.__HEADERS = {
12
'Authorization': f'Basic {api_key}'
13
}
0 commit comments