UNPKG

identify-media

Version:

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

18 lines 480 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const find = (param, apiKey) => { const { language, id, idType } = param; return { method: 'GET', params: { api_key: apiKey, language, external_source: idType }, baseURL: 'https://api.themoviedb.org', url: `/3/find/${id}`, responseType: 'json', }; }; exports.default = find; //# sourceMappingURL=find.js.map