UNPKG

identify-media

Version:

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

17 lines 540 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const getSeason = (query, apikey) => { return { method: 'GET', baseURL: 'https://api.themoviedb.org', params: { api_key: apikey, language: query.language, append_to_response: 'external_ids,credits,images,videos,translations' }, url: `/3/tv/${query.id}/season/${query.season}`, responseType: 'json', }; }; exports.default = getSeason; //# sourceMappingURL=getSeason.js.map