This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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 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 History

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 Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
iata_codes-0.0.5-py2.py3-none-any.whl (4.8 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Jan 14, 2017
iata_codes-0.0.5.tar.gz (3.5 kB) Copy SHA256 Checksum SHA256 Source Jan 14, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting