UNPKG

tmdb-ts

Version:
18 lines 586 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DiscoverEndpoint = void 0; const base_1 = require("./base"); const BASE_DISCOVER = '/discover'; class DiscoverEndpoint extends base_1.BaseEndpoint { constructor(accessToken) { super(accessToken); } async movie(options) { return await this.api.get(`${BASE_DISCOVER}/movie`, options); } async tvShow(options) { return await this.api.get(`${BASE_DISCOVER}/tv`, options); } } exports.DiscoverEndpoint = DiscoverEndpoint; //# sourceMappingURL=discover.js.map