0.0.11 • Published 3 years ago

ufostart-flightplan-api-client v0.0.11

Weekly downloads
-
License
MIT
Repository
github
Last release
3 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

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago