Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

REST API Client for IATA Codes database

Project description

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.cities 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

Project details


Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page