1.0.1 • Published 5 years ago

moviedatabase-client v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

The Movie Database Client

Code Quality Build Status Total Downloads

Initialize Client

import { TMDBClient } from 'moviedatabase-client';

const tmdb = new TMDBClient('API_KEY');

Constructor also supports:

  • Connecting to the TMDB API through http (https by default)
  • Changing the API version currently used
  • Changing the host of the TMDB Api server
public constructor(apiKey: string, secure: boolean = true, version: number = 3, host: string = 'api.themoviedb.org')

Examples for specific endpoints you can find the in the docs folder of this project.