UNPKG

identify-media

Version:

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

15 lines 435 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const getExternalIDs = (query, apikey) => { return { method: 'GET', baseURL: 'https://api.themoviedb.org', params: { api_key: apikey }, url: `/3/${query.type}/${query.id}/external_ids`, responseType: 'json', }; }; exports.default = getExternalIDs; //# sourceMappingURL=getExternalIDs.js.map