lord-o-de-rings

1.0.1 • Public • Published

Lord of the Rings SDK

NPM

This package implements V2 API from The One API. and focuses on the basic functionality on below set of APIs.

Pre-requisites

To get started you would need to first SignUp and get a API_KEY.

Install

You can install the package with npm.

npm install lord-o-de-rings [-S]

Usage

Once you have intalled the package, you can reference or import.

// Reference or Import the package.
const { LorSDK } = require('lord-o-de-rings');

// Pass the API_KEY you created in the `Pre-requisites` Step.
const lor = new LorSDK(<API_KEY>);

// lor.<filter-components chainable>.<main-methods>(<Option to Pass for paginations>)
lor.[match]('name', 'The Two Towers').[getMovies](<?options>).then(data=>{
    console.log(data)
    ...
})
.catch(error=>{
    console.error(error)
    ...
})

Supported filters that are chainble: filter methods

Readme

Keywords

none

Package Sidebar

Install

npm i lord-o-de-rings

Weekly Downloads

2

Version

1.0.1

License

ISC

Unpacked Size

12.8 kB

Total Files

7

Last publish

Collaborators

  • saikatharryc