1.0.1 • Published 5 years ago
moviedatabase-client v1.0.1
The Movie Database Client
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')