bandcamp-fetch/docs/api/classes/LimiterShowAPI.md
2023-10-29 02:34:52 +08:00

3.5 KiB

bandcamp-fetch / LimiterShowAPI

Class: LimiterShowAPI

Hierarchy

Table of contents

Constructors

Accessors

Methods

Constructors

constructor

new LimiterShowAPI(params)

Parameters

Name Type
params BaseAPIWithImageSupportParams & { limiter: Limiter }

Overrides

ShowAPI.constructor

Defined in

lib/show/ShowAPI.ts:50

Accessors

cache

Protected get cache(): Cache

Returns

Cache

Inherited from

ShowAPI.cache

Defined in

lib/common/BaseAPI.ts:25


imageAPI

get imageAPI(): ImageAPI

Returns

ImageAPI

Inherited from

ShowAPI.imageAPI

Defined in

lib/common/BaseAPIWithImageSupport.ts:17

Methods

fetch

Protected fetch(url, jsonResponse, method?, payload?): Promise<any>

Parameters

Name Type
url string
jsonResponse true
method? FetchMethod
payload? Record<string, any>

Returns

Promise<any>

Inherited from

ShowAPI.fetch

Defined in

lib/common/BaseAPI.ts:19

Protected fetch(url, jsonResponse?, method?, payload?): Promise<string>

Parameters

Name Type
url string
jsonResponse? boolean
method? FetchMethod
payload? Record<string, any>

Returns

Promise<string>

Inherited from

ShowAPI.fetch

Defined in

lib/common/BaseAPI.ts:20


getShow

getShow(params): Promise<Show>

Parameters

Name Type
params ShowAPIGetShowParams

Returns

Promise<Show>

Overrides

ShowAPI.getShow

Defined in

lib/show/ShowAPI.ts:55


list

list(params?): Promise<Show[]>

Parameters

Name Type
params? ShowAPIListParams

Returns

Promise<Show[]>

Overrides

ShowAPI.list

Defined in

lib/show/ShowAPI.ts:59