Security News
New Proposed CISA Mandate Would Require Critical Infrastructure to Report Ransom Payments Within 24 Hours
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
flightplandb
Advanced tools
An API wrapper for the website FlightPlanDatabase's API
Weekly downloads
Readme
An API wrapper for the website FlightPlanDatabase.com
WARNING: THIS IS FOR SIMULATION USE ONLY. DO NOT USE FOR REAL WORLD NAVIGATION.
To use the wrapper, simply import the FlightPlanDB module, and set a variable to a new instance of FlightPlanDB
. Call one of the attached methods, provide it the options it needs, and it will return the JSON object of the response. For example:
const flightPlanDb = import('FlightPlanDB'); const db = new flightPlanDb({API KEY HERE}); db.getWeather('KCLE', function(result) { console.log(result); });
getFlightPlan(id, callback)
-- Gets the flight plan from the database with the corresponding ID
getAirport(icao, callback)
-- Gets the airport information for a given ICAO code
getWeather(icao, callback)
-- Gets the METAR and TAF (if available) for the given ICAO airport
flightPlanQuery(query, callback)
-- Retrieves a search of all flightplans matching a query, including ICAOs, airport names, username, tags, or flight number
flightPlanFromTo(from, to, callback)
-- Retrieves a search of all flightplans from a location, to another
flightPlanIcaoFromTo(fromIcao, toIcao, callback)
-- Retrieves a search of all flightplans from a specific ICAO airport, to another
flightPlanFlightNumber(flightNumber, callback)
-- Retrieves a search of all flightplans with a given flight number
generateFlightPlan(fromIcao, toIcao, callback, useNat: true, usePacot: true, useAwylo: true, useAwyhi: true, cruiseAlt: 35000, cruiseSpeed: 420, ascentRate: 2500, ascentSpeed: 250, descentRate: 1500, descentSpeed: 250)
-- Generates a flight plan with the given parameters. All parameters after the callback function are optional, and defaults are shown.
FAQs
An API wrapper for the website FlightPlanDatabase's API
The npm package flightplandb receives a total of 1 weekly downloads. As such, flightplandb popularity was classified as not popular.
We found that flightplandb demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
Security News
Redis is no longer OSS, breaking its explicit commitment to remain under the BSD 3-Clause License forever. This has angered contributors who are now working to fork the software.
Product
Socket AI now enables 'AI detected potential malware' alerts by default, ensuring users benefit from AI-powered state-of-the-art malware detection without needing to opt-in.