bandcamp-fetch • Docs
bandcamp-fetch / LimiterSearchAPI
new LimiterSearchAPI(
params
):LimiterSearchAPI
• params: BaseAPIWithImageSupportParams
& object
get
protected
cache():Cache
get imageAPI():
ImageAPI
lib/common/BaseAPIWithImageSupport.ts:17
albums(
params
):Promise
<SearchResults
<SearchResultAlbum
>>
• params: SearchAPISearchParams
Promise
<SearchResults
<SearchResultAlbum
>>
all(
params
):Promise
<SearchResults
<SearchResultAny
>>
• params: SearchAPISearchParams
Promise
<SearchResults
<SearchResultAny
>>
artistsAndLabels(
params
):Promise
<SearchResults
<SearchResultArtist
|SearchResultLabel
>>
• params: SearchAPISearchParams
Promise
<SearchResults
<SearchResultArtist
| SearchResultLabel
>>
fans(
params
):Promise
<SearchResults
<SearchResultFan
>>
• params: SearchAPISearchParams
Promise
<SearchResults
<SearchResultFan
>>
protected
fetch(url
,jsonResponse
,method
,payload
?):Promise
<object
>
• url: string
• jsonResponse: false
• method: HEAD
• payload?: undefined
Promise
<object
>
ok:
boolean
status:
number
protected
fetch(url
,jsonResponse
,method
?,payload
?):Promise
<any
>
• url: string
• jsonResponse: true
• method?: FetchMethod
• payload?: Record
<string
, any
>
Promise
<any
>
protected
fetch(url
,jsonResponse
?,method
?,payload
?):Promise
<string
>
• url: string
• jsonResponse?: boolean
• method?: FetchMethod
• payload?: Record
<string
, any
>
Promise
<string
>
protected
search(params
):Promise
<SearchResults
<SearchResultAlbum
>>
• params: SearchAPISearchParams
& object
Promise
<SearchResults
<SearchResultAlbum
>>
protected
search(params
):Promise
<SearchResults
<SearchResultTrack
>>
• params: SearchAPISearchParams
& object
Promise
<SearchResults
<SearchResultTrack
>>
protected
search(params
):Promise
<SearchResults
<SearchResultFan
>>
• params: SearchAPISearchParams
& object
Promise
<SearchResults
<SearchResultFan
>>
protected
search(params
):Promise
<SearchResults
<SearchResultAny
>>
• params: SearchAPISearchParams
& object
Promise
<SearchResults
<SearchResultAny
>>
tracks(
params
):Promise
<SearchResults
<SearchResultTrack
>>
• params: SearchAPISearchParams
Promise
<SearchResults
<SearchResultTrack
>>