@agao2/sdk-lotr

1.0.1 • Public • Published

Lord of the Rings SDK

SDK is published at https://www.npmjs.com/package/@agao2/sdk-lotr

To install, use npm i @agao2/sdk-lotr

Examples of using sdk:

const { Lotr } = require("@agao2/sdk-lotr/lib/lotr")
const lotr = new Lotr('{API KEY HERE}')

const movies = await lotr.getMovies({ limit: 1, offset: 2 });
const movie = await lotr.getMovie('5cd95395de30eff6ebccde56');
const quotes = await lotr.getQuotes();
const movieQuotes = await lotr.getQuotes({ movieId: '5cd95395de30eff6ebccde5d', limit: 1, offset: 2 });
const quote = await lotr.getQuote('5cd96e05de30eff6ebcce841');

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @agao2/sdk-lotr

    Weekly Downloads

    0

    Version

    1.0.1

    License

    ISC

    Unpacked Size

    4.04 kB

    Total Files

    7

    Last publish

    Collaborators

    • agao2