bandcamp-fetch/docs/api/classes/BandcampFetch.md
2023-10-28 20:55:26 +08:00

5.0 KiB

bandcamp-fetch / BandcampFetch

Class: BandcampFetch

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new BandcampFetch(params?)

Parameters

Name Type
params? BandcampFetchParams

Defined in

lib/BandcampFetch.ts:56

Properties

album

Readonly album: AlbumAPI

Defined in

lib/BandcampFetch.ts:29


article

Readonly article: ArticleAPI

Defined in

lib/BandcampFetch.ts:35


autocomplete

Readonly autocomplete: AutocompleteAPI

Defined in

lib/BandcampFetch.ts:39


band

Readonly band: BandAPI

Defined in

lib/BandcampFetch.ts:33


discovery

Readonly discovery: DiscoveryAPI

Defined in

lib/BandcampFetch.ts:31


fan

Readonly fan: FanAPI

Defined in

lib/BandcampFetch.ts:37


image

Readonly image: ImageAPI

Defined in

lib/BandcampFetch.ts:32


limiter

Readonly limiter: Object

Type declaration

Name Type
album LimiterAlbumAPI
article LimiterArticleAPI
autocomplete LimiterAutocompleteAPI
band LimiterBandAPI
discovery LimiterDiscoveryAPI
fan LimiterFanAPI
image LimiterImageAPI
search LimiterSearchAPI
show LimiterShowAPI
tag LimiterTagAPI
track LimiterTrackAPI
updateSettings (options?: ConstructorOptions) => void

Defined in

lib/BandcampFetch.ts:41


Readonly search: SearchAPI

Defined in

lib/BandcampFetch.ts:38


show

Readonly show: ShowAPI

Defined in

lib/BandcampFetch.ts:36


tag

Readonly tag: TagAPI

Defined in

lib/BandcampFetch.ts:34


track

Readonly track: TrackAPI

Defined in

lib/BandcampFetch.ts:30

Accessors

cache

get cache(): CacheWrapper

Returns

CacheWrapper

Defined in

lib/BandcampFetch.ts:118


get cookie(): undefined | null | string

Returns

undefined | null | string

Defined in

lib/BandcampFetch.ts:114

Methods

setCookie

setCookie(value?): void

Parameters

Name Type
value? null | string

Returns

void

Defined in

lib/BandcampFetch.ts:109