@datafire/aviationdata_systems
v5.0.0
Published
DataFire integration for AviationData.Systems Airports API V1
Downloads
9
Readme
@datafire/aviationdata_systems
Client library for AviationData.Systems Airports API V1
Installation and Usage
npm install --save @datafire/aviationdata_systems
let aviationdata_systems = require('@datafire/aviationdata_systems').create({
username: "",
password: ""
});
.then(data => {
console.log(data);
});
Description
Actions
AutoCompleteAirportName_AirportNameSearch
Required parameters: airport_name, airport_service_type. Optional parameter: country code (ISO 3166-1).
aviationdata_systems.AutoCompleteAirportName_AirportNameSearch({
"airport_name": "",
"airport_service_type": ""
}, context)
Input
- input
object
- airport_name required
string
: Required: The airports name - airport_service_type required
string
(values: All, Scheduled, NonScheduled): Required: Needs to be: All, Scheduled or NonScheduled - optional_country_code
string
: Optional: Country code (ISO 3166-1). This can be found via /countries
- airport_name required
Output
AirportIATA_AirportIATASearch
Required parameters: airport_iata
aviationdata_systems.AirportIATA_AirportIATASearch({
"airport_iata": ""
}, context)
Input
- input
object
- airport_iata required
string
: Required: The airports IATA code
- airport_iata required
Output
AirportDetails_AirportNameSearch
Required parameters: airport_name, api_mode
aviationdata_systems.AirportDetails_AirportNameSearch({
"airport_name": ""
}, context)
Input
- input
object
- airport_name required
string
: Required: The airports name
- airport_name required
Output
NearestAirports_NearestAirportList
Required parameters: result_count, latitude, longitude, airport_service_type
aviationdata_systems.NearestAirports_NearestAirportList({
"result_count": 0,
"latitude": 0,
"longitude": 0
}, context)
Input
- input
object
- result_count required
integer
: Required: Number of airports to return. Min: 1 Max: 20 - latitude required
number
: Required: Latitude - longitude required
number
: Required: Longitude
- result_count required
Output
CountryAirportList_CountryAirportList
Required parameters: country code (ISO 3166-1), airport_service_type.
aviationdata_systems.CountryAirportList_CountryAirportList({
"country_code": "",
"airport_service_type": ""
}, context)
Input
- input
object
- country_code required
string
: Country code (ISO 3166-1). This can be found via /countries - airport_service_type required
string
(values: All, Scheduled, NonScheduled): Required: Needs to be: All, Scheduled or NonScheduled
- country_code required
Output
CountryList_CountryAirportList
Country list. Returns a list of countries where airport data is available
aviationdata_systems.CountryList_CountryAirportList(null, context)
Input
This action has no parameters
Output
Definitions
AirportsAPI.Controllers.AirportDetailsController.Response
- AirportsAPI.Controllers.AirportDetailsController.Response
object
- airport_list
array
- disclaimer
string
- message
string
- status_code
string
- airport_list
AirportsAPI.Controllers.AirportIATAController.Response
- AirportsAPI.Controllers.AirportIATAController.Response
object
- airport_list
array
- disclaimer
string
- message
string
- status_code
string
- airport_list
AirportsAPI.Controllers.AutoCompleteAirportNameController.Response
- AirportsAPI.Controllers.AutoCompleteAirportNameController.Response
object
- airport_list
array
- disclaimer
string
- message
string
- status_code
string
- airport_list
AirportsAPI.Controllers.CountryAirportListController.AirportListResponse
- AirportsAPI.Controllers.CountryAirportListController.AirportListResponse
object
- airport_list
array
- country AirportsAPI.Models.Country
- disclaimer
string
- message
string
- status_code
string
- airport_list
AirportsAPI.Controllers.CountryListController.CountryListResponse
- AirportsAPI.Controllers.CountryListController.CountryListResponse
object
- country
array
- disclaimer
string
- message
string
- status_code
string
- country
AirportsAPI.Controllers.NearestAirportsController.Response
- AirportsAPI.Controllers.NearestAirportsController.Response
object
- airport_list
array
- disclaimer
string
- message
string
- status_code
string
- airport_list
AirportsAPI.Models.Airport
- AirportsAPI.Models.Airport
object
- Country AirportsAPI.Models.Location.Country
- Frequency
array
- Region AirportsAPI.Models.Location.Region
- Runway
array
- airport_name
string
- airport_type
string
- elevation_ft
string
- gps_code
string
- iata_code
string
- latitude
string
- local_code
string
- location
string
- logo_url
string
- longitude
string
- scheduled_service
boolean
- website
string
- wikipedia
string
AirportsAPI.Models.AirportList
- AirportsAPI.Models.AirportList
object
- airport_name
string
- airport_type
string
- iata_code
string
- latitude
string
- location
string
- longitude
string
- airport_name
AirportsAPI.Models.AirportListAutocomplete
- AirportsAPI.Models.AirportListAutocomplete
object
- label
string
- value
string
- label
AirportsAPI.Models.Country
- AirportsAPI.Models.Country
object
- continent
string
- country_code
string
- flag_url
string
- name
string
- continent
AirportsAPI.Models.Frequency
- AirportsAPI.Models.Frequency
object
- desc
string
- frequency_mhz
string
- frequency_type
string
- desc
AirportsAPI.Models.Location.Country
- AirportsAPI.Models.Location.Country
object
- country_code
string
- flag_url
string
- name
string
- country_code
AirportsAPI.Models.Location.Region
- AirportsAPI.Models.Location.Region
object
- local_code
string
- name
string
- region_code
string
- local_code
AirportsAPI.Models.Runway
- AirportsAPI.Models.Runway
object
- closed
boolean
- hE_latitude
string
- hE_longitude
string
- he_displaced_threshold_ft
string
- he_elevation_ft
string
- he_heading_deg
string
- le_displaced_threshold_ft
string
- le_elevation_ft
string
- le_heading_deg
string
- le_latitude
string
- le_longitude
string
- length_ft
string
- lighted
boolean
- surface_type
string
- width_ft
string
- closed