erik4github / nasa-insight-api

A node wrapper for accessing images from the NASA API for the InSight Lander

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node.js wrapper for the NASA InSight Lander images API

Installation

npm install nasa-insight-api --save

Authentication

Sign up for a NASA developer API Key here. Create a new instance of the client library with:

const Insight = require('nasa-insight-api');

const insight = new Insight({apiKey: 'YOUR_KEY'});

Usage

insight.images.get(options = {}, (err, res, body) => console.log(body));

Available Methods

insight.images.get(options = {}, cb)
insight.images.getBy(solStart, solEnd, cameras, per_page, page, cb)

License

MIT

About

A node wrapper for accessing images from the NASA API for the InSight Lander

License:MIT License


Languages

Language:JavaScript 100.0%