PHP Plugin for IataCodes.org
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
IataCodes.php Create IataCodes.php Dec 7, 2015
README.md Update README.md Apr 20, 2016

README.md

php-sdk

PHP SDK for IataCodes.org

Example:

include 'IataCodes.php';
$ic = new IataCodes('YOUR-API-KEY', '5');
$result = $ic->api('stats');
print_r( $result['response']);

$result = $ic->api('countries', array('code' => 'FR'));
print_r( $result['response']);

$result = $ic->api('timezones');
print_r( $result['response'])