Supplementary APIs.These supplementary APIs are used internally by CarbonSutra's algorithms. We are making them available as they could be useful to developers for creating front ends of their applications.
|
API: Nearest Airport
This is an advanced algorithm which takes a postal code and country code as input and returns the nearest airport its latitude/longitude value. It is important to note that the straight line distance between the lat-long of postal code and airport is measured. The returned value is in kilometers. The source of 1.5 million postal code data is taken as it is from https://public.opendatasoft.com/explore/dataset/geonames-postal-code/. For airports, the publicly available database of IATA codes and airport names is used.
INGESTED FIELDS
COUNTRY_CODE: Mandatory. The 2 letter country code.
POSTALC_CODE : Mandatory. The postal code of the above country.
COUNTRY_CODE: Mandatory. The 2 letter country code.
POSTALC_CODE : Mandatory. The postal code of the above country.
API: Distance between Airports
This returns the distance between two IATA airport codes in kilometers.
INGESTED FIELDS
IATA_AIRPORT-FROM: Mandatory. The first airport.
IATA_AIRPORT_TO: Mandatory. The second airport.
IATA_AIRPORT-FROM: Mandatory. The first airport.
IATA_AIRPORT_TO: Mandatory. The second airport.
API: Airports by Keywords
Returns the lists of airport names and Airport IATA code which matches the keyword.
INGESTED FIELD
KEYWORD: Mandatory.
KEYWORD: Mandatory.