Socket
Socket
Sign inDemoInstall

radar_box_on_demand_api

Package Overview
Dependencies
118
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    radar_box_on_demand_api

Object


Version published
Weekly downloads
1
Maintainers
1
Install size
4.42 MB
Created
Weekly downloads
 

Readme

Source

radar_box_on_demand_api

RadarBoxOnDemandApi - JavaScript client for radar_box_on_demand_api No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) This SDK is automatically generated by the Swagger Codegen project:

  • API version: 2.1.56
  • Package version: 2.1.56
  • Build package: io.swagger.codegen.v3.generators.javascript.JavaScriptClientCodegen

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install radar_box_on_demand_api --save
git

If the library is hosted at a git repository, e.g. https://github.com/GIT_USER_ID/GIT_REPO_ID then install it via:

    npm install GIT_USER_ID/GIT_REPO_ID --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Webpack Configuration

Using Webpack you may encounter the following error: "Module not found: Error: Cannot resolve module", most certainly you should disable AMD loader. Add/merge the following section to your webpack config:

module: {
  rules: [
    {
      parser: {
        amd: false
      }
    }
  ]
}

Getting Started

Please follow the installation instruction and execute the following JS code:

var RadarBoxOnDemandApi = require('radar_box_on_demand_api');
var defaultClient = RadarBoxOnDemandApi.ApiClient.instance;


var api = new RadarBoxOnDemandApi.AircraftApi()
var opts = { 
  'modeS': "modeS_example", // {String} Mode-S code
  'registration': "registration_example" // {String} Registration
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getAircraft(opts, callback);

Documentation for API Endpoints

All URIs are relative to https://api.radarbox.com/v2

ClassMethodHTTP requestDescription
RadarBoxOnDemandApi.AircraftApigetAircraftGET /aircraftAircraft by ID
RadarBoxOnDemandApi.AircraftApisearchAircraftGET /aircraft/searchAircraft search
RadarBoxOnDemandApi.AirportsApigetAirportGET /airports/{icaoCode}Airport by code
RadarBoxOnDemandApi.AirportsApigetDatisGET /airports/{icaoCode}/datisGet D-ATIS by airport
RadarBoxOnDemandApi.AirportsApigetMetarGET /airports/{icaoCode}/metarGet METAR by airport
RadarBoxOnDemandApi.AirportsApigetTafGET /airports/{icaoCode}/tafGet TAF by airport
RadarBoxOnDemandApi.AirportsApisearchAirportGET /airports/searchAirport search
RadarBoxOnDemandApi.AirspaceApigetNatTracksGET /airspace/natTracksNAT (North Atlantic Tracks)
RadarBoxOnDemandApi.AirspaceApigetNotamsGET /airspace/{icaoCode}/notamsGet NOTAMS by airport
RadarBoxOnDemandApi.AirspaceApigetPacTracksGET /airspace/pacTracksPAC (Pacific Organized Track System - PACOTS)
RadarBoxOnDemandApi.BillingApistatusGET /billing/statusGet the current billing status
RadarBoxOnDemandApi.BillingApiusageGET /billing/usageGet the latest token usage statistics
RadarBoxOnDemandApi.FlightsApiaircraftPositionPOST /flights/liveGet live flights
RadarBoxOnDemandApi.FlightsApigeosearchPOST /flights/geosearchSearch flights by geographical area
RadarBoxOnDemandApi.FlightsApigetScheduledFlightsGET /flights/schedulesGet scheduled flights
RadarBoxOnDemandApi.FlightsApisearchPOST /flights/searchSearch flights
RadarBoxOnDemandApi.StatisticsApigetAirlineStatisticsGET /statistics/airline/{icaoCode}Statistics for a specific airline
RadarBoxOnDemandApi.StatisticsApigetAirlinesStatisticsGET /statistics/airlinesStatistics for major airlines
RadarBoxOnDemandApi.StatisticsApigetBusJetModelsStatisticsInternalGET /statistics/flights/business/modelsStatistics for business jet models
RadarBoxOnDemandApi.StatisticsApigetBusJetOperatorStatisticsInternalGET /statistics/flights/business/operatorsStatistics for business jet operators
RadarBoxOnDemandApi.StatisticsApigetBusinessAirportStatisticsGET /statistics/airports/businessStatistics for business flights on major airports
RadarBoxOnDemandApi.StatisticsApigetBusinessFlightsStatisticsGET /statistics/flights/businessFlights statistics (business)
RadarBoxOnDemandApi.StatisticsApigetCommercialAirportStatisticsGET /statistics/airports/commercialStatistics for commercial flights on major airports
RadarBoxOnDemandApi.StatisticsApigetCommercialFlightsStatisticsGET /statistics/flights/commercialFlights statistics (commercial)
RadarBoxOnDemandApi.StatisticsApigetFlightsStatisticsGET /statistics/flightsStatistics for all flights
RadarBoxOnDemandApi.StatisticsApigetMajorAirportStatisticsGET /statistics/airportsStatistics for major airports

Documentation for Models

Documentation for Authorization

bearerToken

FAQs

Last updated on 04 Apr 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc