This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pip install amadeus | |
#First install amadeus by using "pip install amadeus" then write the following code | |
#Write the airport code not the full name as input like LHR for Lahore airport | |
from amadeus import Client, ResponseError | |
amadeus = Client( | |
client_id='Your API KEY', | |
client_secret='YOUR API SECRET' | |
) |