3.0.0 • Published 3 months ago

opensky-api v3.0.0

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
3 months ago

OpenSky

Quality Check Stability: Stable npm codecov npm bundle size npm downloads LICENSE

Lightweight API wrapper for OpenSky’s REST API. The API lets you retrieve live airspace information for research and non-commercial purposes. Please refer to OpenSky Network API documentation.

This project is not affiliated to OpenSky Network, but the codebase is heavily inspired by the opensky-api Java implementation.

📦 Install

yarn add opensky-api
# or
pnpm add opensky-api
# or
npm install opensky-api --save

⚡️ Quick start

The following example is equivalent to calling the REST API: https://opensky-network.org/api/states/all?time=1458564121&icao24=3c6444

import { OpenSkyApi } from 'opensky-api';

const api = OpenSkyApi();

api
  .getStates(1458564121, ['3c6444'])
  .then((response) => console.log(response.states));

Frontend Example | NodeJs Example

📚 Documentation

👥 Contributors

This project is maintained by Raed Chammam.

This project is considered stable but not in active development. If you encounter a problem, create an issue and I will respond with best effort.

📜 License

GPL-3.0

3.0.0

3 months ago

2.2.1

1 year ago

2.2.0

2 years ago

2.2.2

1 year ago

2.1.0

2 years ago

2.0.1

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago