easier-iss
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

npm npm install size

NPM

Easier-ISS

Installation

npm i easier-iss

Simple wrapper for wheretheiss.at

Data

Function Description
iss Gets all the data from the ISS endpoint.

Examples

Await/Async example

const client = require('easier-iss')
const iss = new client()

    async function test() {
        console.log(await iss.iss.data());
      }
      
      test();

returns:

{
  name: 'iss',
  id: 25544,
  latitude: -51.773093040486,
  longitude: -120.01871771079,
  altitude: 439.98323490986,
  velocity: 27530.550593931,
  visibility: 'daylight',
  footprint: 4607.7631599504,
  timestamp: 1601643170,
  daynum: 2459125.0366898,
  solar_lat: -3.8808341220161,
  solar_lon: 344.09082118441,
  units: 'kilometers'
}

These results are NOT static. They are realtime.

This might be updated with more endpoints.

NOTE

This API is rate limited to 1 request per second. Please abide by this by adding a timeout or something.

Readme

Keywords

Package Sidebar

Install

npm i easier-iss

Weekly Downloads

0

Version

1.1.2

License

ISC

Unpacked Size

3.96 kB

Total Files

5

Last publish

Collaborators

  • hk420