iata_codes

REST API Client for IATA Codes database


Keywords
iata development, iata, python, python-2, python-3, python-library
License
MIT
Install
pip install iata_codes==0.0.5

Documentation

iata_codes

Build Status codecov Coverage Status

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'))

Links