skip to navigation
skip to content

iata_codes 0.0.5

REST API Client for IATA Codes database

Python client for IATA Codes Database REST API

Features

  • Search city by IATA code
  • Search cities by country code
  • Search IATA code by name of the city

Installation

Install iata_codes package from PyPi:

pip install iata_codes

Getting started

Make sure to include this line in the beginning of your file:

from iata_codes import IATACodesClient

Set your API Key:

client = IATACodesClient('YOUR_API_KEY')

Make queries:

print(client.get(code='MOW'))
print(client.get(country_code='RU'))
print(client.get(name='Moscow'))
 
File Type Py Version Uploaded on Size
iata_codes-0.0.5-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2017-01-14 4KB
iata_codes-0.0.5.tar.gz (md5) Source 2017-01-14 3KB