@spotify/web-api-ts-sdk
Version:
A typescript SDK for the Spotify Web API
8 lines • 380 B
JavaScript
import EndpointsBase from './EndpointsBase.js';
export default class SearchEndpoints extends EndpointsBase {
async execute(q, type, market, limit, offset, include_external) {
const params = this.paramsFor({ q, type, market, limit, offset, include_external });
return await this.getRequest(`search${params}`);
}
}
//# sourceMappingURL=SearchEndpoints.js.map