rapid-api-imdb-wrappers
v0.0.2
Published
Helper package wrapping a couple of Rapid API's IMDB API services
Downloads
0
Readme
Rapid API IMDB API Wrappers
This package is a wrapper around IMDB APIs on RapidAPI
Right now has limited support for API DOJO IMDb API and RapidAPI's IMDb API.
Uses axios as a dependency to make the api requests
Install
$ npm install rapid-api-imdb-wrappers
RapidAPI IMDB API
import {RA_IMDb} from 'rapid-api-imdb-wrappers';
const api = new RA_IMDb(process.env.RA_API_KEY);
(async function(){
const data = await api.search({s: 'Avengers Endgame'});
console.log(data);
})();
API Dojo IMDB API
import {APIDojo_IMDb} from 'rapid-api-imdb-wrappers';
const api = new APIDojo_IMDb(process.env.API_DOJO_API_KEY);
(async function(){
const data = await api.getOverview({tconst: 'tt0944947'});
console.log(data);
})();
Not affiliated with RapidAPI.