liblab-challenge
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

install using: npm install liblab-challenge

test the four different endpoints in js using:

const { LOTRClient } = require('liblab-challenge')
const lotr = new LOTRClient("956X9DMo16KiHxo-2vom");

lotr.getBooks().then((books) => {
  console.log(books)
})

lotr.getBookById("5cf5805fb53e011a64671582").then((book) => {
  console.log(book)
})

lotr.getMovies().then((movies) => {
  console.log(movies)
})

lotr.getCharacters().then(characters => {
  console.log(characters)
})

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.4
    0
    • latest

Version History

Package Sidebar

Install

npm i liblab-challenge

Weekly Downloads

1

Version

1.0.4

License

ISC

Unpacked Size

7.12 kB

Total Files

11

Last publish

Collaborators

  • pvanny1124