UNPKG

identify-media

Version:

Analyse file path and content to make search criteria for media APIs

16 lines (13 loc) 336 B
import {RequestConfig} from "../index"; const getConfig = (apikey: string): RequestConfig => { return { method: 'GET', baseURL: 'https://api.themoviedb.org', params: { api_key: apikey, }, url: `/3/configuration`, responseType: 'json', }; } export default getConfig;