Skip to main content
Help us improve Python packaging – donate today!

REST API Client for IATA Codes database

Project Description

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

Release history Release notifications

This version
History Node

0.0.5

History Node

0.0.4

History Node

0.0.3

History Node

0.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
iata_codes-0.0.5-py2.py3-none-any.whl (4.8 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Jan 14, 2017
iata_codes-0.0.5.tar.gz (3.5 kB) Copy SHA256 hash SHA256 Source None Jan 14, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page