Skip to content

jojoe-ainoo/emmanuel-ainoo-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

emmanuel-ainoo-sdk

SDK for an existing Lord of the Rings API

Description

This projects builds an sdk that allows developers access the lord rings APIs for movies and quotes : https://the-one-api.dev/documentation

Usage

To use this typescript sdk in your project:

  1. install the sdk from npm
npm install emmanuel-ainoo-sdk
  1. Import and Create an instance of the Client
import { LordOfTheRings } from "emmanuel-ainoo-sdk";

const loftrClient = new LordOfTheRings({
  apiKey: "YOUR-API-KEY",
  baseUrl: "https://the-one-api.dev/v2",
});
  1. Access the lord of the rings documentation to get an API Key here: https://the-one-api.dev/sign-up

  2. Example: Use client to fetch movies

loftrClient.moviesApi.getMovies().then((response) => console.log(response));

About

SDK for an existing Lord of the Rings API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published