Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

landon-openapi

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

landon-openapi

The official API Wrapper for the Landon OpenAPI

  • 2.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Landon-OpenAPI


Discord Server NPM Version API Status

About

The Landon OpenAPI Wrapper makes it easy for developers to interact with our Roblox Flight Planner System.

  • Simple and easy to use
  • 100% coverage of the Landon OpenAPI

Installation

Node.js 14.16.0 or newer is required.

npm install landon-openapi

Usage

Requiring the package and authenticating your app with an API Key:

const Landon = require('landon-openapi');

const landonclient = new Landon({
    apikey: "o1mapx.qh3v2r2t7kb06tfkt2l6g75s.jmfi"
});

Afterwards we can get, create or delete flights.

Get all Flights
let allFlights = await landonclient.getFlights();
console.log(allFlights)
Create a Flight
const flight_info = {
    flightnumber: "RHT3894",
    aircraft: "A320",
    departure_airport: "Zurich",
    arrival_airport: "New York",
    game_url: "https://roblox.com/123",
    date: "2022-02-22",
    time: "1:00am",
    roavhub_ping: false
};

let createFlight = await landonclient.createFlight(flight_info);
console.log(createFlight)
Delete a Flight
const flight_info = {
    flightID: "kjrdto1cua9acj7s1pbsqgzjmko9fzrymdli",
};

let deleteFlight = await landonclient.deleteFlight(flight_info);
console.log(deleteFlight)

Keywords

FAQs

Package last updated on 17 Mar 2022

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc