gatsby-source-trakt-tmdb
Version:
Gatsby source plugin for using data from Trakt.TV combined with TMDB on your website
5 lines (4 loc) • 322 B
TypeScript
import { Movie } from './types/tmdb-movie';
import { TvShow } from './types/tmdb-tv-show';
export declare const generateImageUrl: (image: string) => string;
export declare const getTmdbMetadata: (type: "movie" | "tv", id: number, apiKey: string, language?: string, cache?: any, tries?: number) => Promise<Movie | TvShow>;