1.0.4 • Published 2 years ago
georgeflutur-sdk v1.0.4
Lord of the Rings JavaScript SDK
This handfull JS library was created to help developers interact with the LotR API.
Details about the endpoints, API keys generation, etc. can be found here
In order to easily get started with the library follow these steps:
- Install it using npm.
npm i georgeflutur-sdk
- Import it in your file.
import LotRLibrary from "georgeflutur-sdk"
- Create an instance of the communicator class.
const lortlib = new LotRLibrary("YOUR_API_KEY")
- Call the
getMovies
method to grab an object containing all the LotR books.
console.log(await lortlib.getMovies())
“May it be a light to you in dark places, when all other lights go out.” — Galadriel