0.0.11 • Published 4 years ago

ufostart-flightplan-api-client v0.0.11

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

UFOstart flightplan api client

Install

yarn add ufostart-flightplan-api-client

or

npm i ufostart-flightplan-api-client

Usage

import { getFlightPlanByApiKey } from 'ufostart-flightplan-api-client'

const yourUfostartApiKey = 'API_KEY'
let flightplan = {}

try {
    flightplan = await getFlightPlanByApiKey(yourUfostartApiKey)
} catch (error) {
    console.log(error)
}

or

const { getFlightPlanByApiKey } = require('ufostart-flightplan-api-client')

const yourUfostartApiKey = 'API_KEY'
let flightplan = {}

getFlightPlanByApiKey(yourUfostartApiKey)
    .then(response => {
        flightplan = response
    })
    .catch(error => {
        console.log(error)
    })
0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago