1.0.5 • Published 7 years ago

SITA-JS-Wrapper v1.0.5

Weekly downloads
12
License
MIT
Repository
github
Last release
7 years ago

#SITA-JS-Wrapper

Installation

npm install SITA-JS-Wrapper

Usage

var sita = require('SITA-JS-Wrapper')(API_KEY_HERE);

sita.api("41.8781136", "-87.62979819999998", "1", function(data){
  //data looks like: [ { "name:" : Chicago Midway Intl , "code:" : MDW } ]
});

Api Parameters:

lat: The Latitude of location you want to search.
lng: The Longitiude of the location you want to search.
numberOfAirports: The number of airports you want to return.
fn: A function to access the API response.
1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago