Closed shimulch closed 2 years ago
DTB, KJT and YIA are official IATA codes as per https://www.iata.org/en/publications/directories/code-search/ and have been added to the fork of this project housed at https://github.com/mborsetti/airportsdata, which is also available for those using Python over pip:
pip install airportsdata
To load the data into a dict:
import airportsdata
airports = airportsdata.load() # key is ICAO code
or
import airportsdata
airports = airportsdata.load('IATA') # key is IATA code
The other codes are not IATA codes therefore won't be supported.
I have been working with a flight booking system and this list helped me a lot.
BTW, I found that these airports are not there -