bandcamp-fetch/docs/api/classes/BandcampFetch.md
2023-10-30 01:25:17 +08:00

5.3 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:59

Properties

album

Readonly album: AlbumAPI

Defined in

lib/BandcampFetch.ts:30


article

Readonly article: ArticleAPI

Defined in

lib/BandcampFetch.ts:36


autocomplete

Readonly autocomplete: AutocompleteAPI

Defined in

lib/BandcampFetch.ts:40


band

Readonly band: BandAPI

Defined in

lib/BandcampFetch.ts:34


discovery

Readonly discovery: DiscoveryAPI

Defined in

lib/BandcampFetch.ts:32


fan

Readonly fan: FanAPI

Defined in

lib/BandcampFetch.ts:38


image

Readonly image: ImageAPI

Defined in

lib/BandcampFetch.ts:33


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
stream StreamAPI
tag LimiterTagAPI
track LimiterTrackAPI
updateSettings (options?: ConstructorOptions) => void

Defined in

lib/BandcampFetch.ts:43


Readonly search: SearchAPI

Defined in

lib/BandcampFetch.ts:39


show

Readonly show: ShowAPI

Defined in

lib/BandcampFetch.ts:37


stream

Readonly stream: StreamAPI

Defined in

lib/BandcampFetch.ts:41


tag

Readonly tag: TagAPI

Defined in

lib/BandcampFetch.ts:35


track

Readonly track: TrackAPI

Defined in

lib/BandcampFetch.ts:31

Accessors

cache

get cache(): CacheWrapper

Returns

CacheWrapper

Defined in

lib/BandcampFetch.ts:123


get cookie(): undefined | null | string

Returns

undefined | null | string

Defined in

lib/BandcampFetch.ts:119

Methods

setCookie

setCookie(value?): void

Parameters

Name Type
value? null | string

Returns

void

Defined in

lib/BandcampFetch.ts:114