1.1.2 • Published 3 years ago
easier-iss v1.1.2
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.