Skip to content

Latest commit

 

History

History
357 lines (179 loc) · 9.44 KB

LimiterSearchAPI.md

File metadata and controls

357 lines (179 loc) · 9.44 KB

bandcamp-fetchDocs


bandcamp-fetch / LimiterSearchAPI

Class: LimiterSearchAPI

Extends

Constructors

new LimiterSearchAPI()

new LimiterSearchAPI(params): LimiterSearchAPI

Parameters

params: BaseAPIWithImageSupportParams & object

Returns

LimiterSearchAPI

Overrides

SearchAPI.constructor

Defined in

lib/search/SearchAPI.ts:94

Accessors

cache

Get Signature

get protected cache(): Cache

Returns

Cache

Inherited from

SearchAPI.cache

Defined in

lib/common/BaseAPI.ts:27


imageAPI

Get Signature

get imageAPI(): ImageAPI

Returns

ImageAPI

Inherited from

SearchAPI.imageAPI

Defined in

lib/common/BaseAPIWithImageSupport.ts:17

Methods

albums()

albums(params): Promise<SearchResults<SearchResultAlbum>>

Parameters

params: SearchAPISearchParams

Returns

Promise<SearchResults<SearchResultAlbum>>

Overrides

SearchAPI.albums

Defined in

lib/search/SearchAPI.ts:107


all()

all(params): Promise<SearchResults<SearchResultAny>>

Parameters

params: SearchAPISearchParams

Returns

Promise<SearchResults<SearchResultAny>>

Overrides

SearchAPI.all

Defined in

lib/search/SearchAPI.ts:99


artistsAndLabels()

artistsAndLabels(params): Promise<SearchResults<SearchResultArtist | SearchResultLabel>>

Parameters

params: SearchAPISearchParams

Returns

Promise<SearchResults<SearchResultArtist | SearchResultLabel>>

Overrides

SearchAPI.artistsAndLabels

Defined in

lib/search/SearchAPI.ts:103


fans()

fans(params): Promise<SearchResults<SearchResultFan>>

Parameters

params: SearchAPISearchParams

Returns

Promise<SearchResults<SearchResultFan>>

Overrides

SearchAPI.fans

Defined in

lib/search/SearchAPI.ts:115


fetch()

fetch(url, jsonResponse, method, payload)

protected fetch(url, jsonResponse, method, payload?): Promise<object>

Parameters

url: string

jsonResponse: false

method: HEAD

payload?: undefined

Returns

Promise<object>

ok

ok: boolean

status

status: number

Inherited from

SearchAPI.fetch

Defined in

lib/common/BaseAPI.ts:20

fetch(url, jsonResponse, method, payload)

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

Parameters

url: string

jsonResponse: true

method?: FetchMethod

payload?: Record<string, any>

Returns

Promise<any>

Inherited from

SearchAPI.fetch

Defined in

lib/common/BaseAPI.ts:21

fetch(url, jsonResponse, method, payload)

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

Parameters

url: string

jsonResponse?: boolean

method?: FetchMethod

payload?: Record<string, any>

Returns

Promise<string>

Inherited from

SearchAPI.fetch

Defined in

lib/common/BaseAPI.ts:22


search()

search(params)

protected search(params): Promise<SearchResults<SearchResultAlbum>>

Parameters

params: SearchAPISearchParams & object

Returns

Promise<SearchResults<SearchResultAlbum>>

Inherited from

SearchAPI.search

Defined in

lib/search/SearchAPI.ts:50

search(params)

protected search(params): Promise<SearchResults<SearchResultTrack>>

Parameters

params: SearchAPISearchParams & object

Returns

Promise<SearchResults<SearchResultTrack>>

Inherited from

SearchAPI.search

Defined in

lib/search/SearchAPI.ts:51

search(params)

protected search(params): Promise<SearchResults<SearchResultFan>>

Parameters

params: SearchAPISearchParams & object

Returns

Promise<SearchResults<SearchResultFan>>

Inherited from

SearchAPI.search

Defined in

lib/search/SearchAPI.ts:52

search(params)

protected search(params): Promise<SearchResults<SearchResultAny>>

Parameters

params: SearchAPISearchParams & object

Returns

Promise<SearchResults<SearchResultAny>>

Inherited from

SearchAPI.search

Defined in

lib/search/SearchAPI.ts:53


tracks()

tracks(params): Promise<SearchResults<SearchResultTrack>>

Parameters

params: SearchAPISearchParams

Returns

Promise<SearchResults<SearchResultTrack>>

Overrides

SearchAPI.tracks

Defined in

lib/search/SearchAPI.ts:111