lotr-andres-sdk
v1.0.1
Published
Andres' take-home for LibLab
Downloads
5
Readme
LotR-Andres-SDK
LotR-Andres-SDK is Andres Mendez' take-home submission for LibLab; an SDK for the Lord of the Rings API The One API
Installation
npm install lotr-andres-sdk
Usage
Sign up for an API Key from here for usage and testing
import SDK from 'lotr-andres-sdk';
const lotr = new SDK('<%= your api key here %>');
getMovies();
async function getMovies() {
const movies = await SDK.showMovies();
}
Testing
Place the API key in the .env file and run
npm test