2.0.0 • Published 4 months ago

peek-a-boo.ts v2.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
4 months ago

peek-a-boo.ts

Search and stream movies, tv shows, anime and dramas from more than 10 different sources

Quick Start

Installation

# npm
npm install peek-a-boo.ts@latest

# yarn
yarn add peek-a-boo.ts@latest

Usage

Each provider is put in its own class

import { TMDB, Gogo } from "peek-a-boo.ts"

// TMDB provider requires an api key. proxy is optional
const tmdbProvider = new TMDB(tmdbApiKey, proxy);
const animeProvider = new Gogo();

async function loadData() {
    const trendingAnime = await animeProvider.getTrending();
    const trendingMovies = await tmdbProvider.getTrendingMovies();
    // Both of the above will return data of type PeekABoo<MovieSearchResult[]>
}

For more information, please refer to the documentation

2.0.0

4 months ago

1.0.10

4 months ago

1.0.9

4 months ago

1.0.8

4 months ago

1.0.7

4 months ago

1.0.6

4 months ago

1.0.5

4 months ago

1.0.4

4 months ago

1.0.3

4 months ago

1.0.2

4 months ago

1.0.1

4 months ago

1.0.0

4 months ago