1.0.4 • Published 1 year ago

liblab-challenge v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

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)
})
1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago