1.0.2 • Published 1 year ago
@harvli/harvey_li-sdk v1.0.2
Harvey Li - SDK
Built with:
To install the SDK, in your application directory, run in the terminal:
npm install @harvli/harvey_li-sdk
To use the SDK:
Import Typicode from the package in your file and create a client
import Typicode from '@harvli/harvey_li-sdk'
const client = new Typicode({});
You can now use any of the three methods to extract data from the LOTR API:
client.getAllBooks()
client.getBookById('id')
client.getAllChaptersOfBook('id')