Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
flightplandb
Advanced tools
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 6 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.