Nodemill Addins


Install Fields, APIs and pages (coming soon) using the public repository.

Search:
Within:

Nodemill API: airports

Nodemill Version Nodemill Downloads

Install

nodemill install api airports

Details

  • Author: Paul Burrowes
  • Short desc: Get airport info from 3 letter code (eg LAX, LHR)
  • Keywords: airports,code

Full Description

Get details about any airport from the 3 letter code.
Returns location, city, country and website. Combine with other APIs to get weather, directions, country etc

Version history

  • 1.0.0 Created

Examples

/api/airports/LAX,LHR,JFK

Response:

{
    "headers": {
        "code": 200
    },
    "data": {
        "LAX": {
            "name": "Los Angeles International Airport",
            "lat": 33.9425,
            "lon": -118.408,
            "country": "US",
            "city": "Los Angeles",
            "website": "http://www.iflylax.com/"
        },
        "LHR": {
            "name": "London Heathrow Airport",
            "lat": 51.4706,
            "lon": -0.46194,
            "country": "GB",
            "city": "London",
            "website": "http://www.heathrowairport.com/"
        },
        "JFK": {
            "name": "John F Kennedy International Airport",
            "lat": 40.6398,
            "lon": -73.7789,
            "country": "US",
            "city": "New York",
            "website": "http://www.panynj.gov/CommutingTravel/airports/html/kennedy.html"
        }
    },
    "md5": "fa776d"
}