1.0.4 • Published 3 years ago

liblab-challenge v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years 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

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago