2023-06-10 16:52:27 +02:00
|
|
|
[bandcamp-fetch](../README.md) / LimiterFanAPI
|
|
|
|
|
|
|
|
# Class: LimiterFanAPI
|
|
|
|
|
|
|
|
## Hierarchy
|
|
|
|
|
|
|
|
- [`FanAPI`](FanAPI.md)
|
|
|
|
|
|
|
|
↳ **`LimiterFanAPI`**
|
|
|
|
|
|
|
|
## Table of contents
|
|
|
|
|
|
|
|
### Constructors
|
|
|
|
|
|
|
|
- [constructor](LimiterFanAPI.md#constructor)
|
|
|
|
|
|
|
|
### Methods
|
|
|
|
|
|
|
|
- [getCollection](LimiterFanAPI.md#getcollection)
|
|
|
|
- [getFollowingArtistsAndLabels](LimiterFanAPI.md#getfollowingartistsandlabels)
|
|
|
|
- [getFollowingGenres](LimiterFanAPI.md#getfollowinggenres)
|
|
|
|
- [getInfo](LimiterFanAPI.md#getinfo)
|
|
|
|
- [getWishlist](LimiterFanAPI.md#getwishlist)
|
|
|
|
|
|
|
|
## Constructors
|
|
|
|
|
|
|
|
### constructor
|
|
|
|
|
|
|
|
• **new LimiterFanAPI**()
|
|
|
|
|
|
|
|
#### Inherited from
|
|
|
|
|
|
|
|
[FanAPI](FanAPI.md).[constructor](FanAPI.md#constructor)
|
|
|
|
|
|
|
|
## Methods
|
|
|
|
|
|
|
|
### getCollection
|
|
|
|
|
|
|
|
▸ `Static` **getCollection**(`params`): `Promise`<[`FanPageItemsResult`](../interfaces/FanPageItemsResult.md)<`NonNullable`<``null`` \| [`Track`](../interfaces/Track.md) \| [`Album`](../interfaces/Album.md)\>\> \| [`FanContinuationItemsResult`](../interfaces/FanContinuationItemsResult.md)<`NonNullable`<``null`` \| [`Track`](../interfaces/Track.md) \| [`Album`](../interfaces/Album.md)\>\>\>
|
|
|
|
|
|
|
|
#### Parameters
|
|
|
|
|
|
|
|
| Name | Type |
|
|
|
|
| :------ | :------ |
|
|
|
|
| `params` | [`FanAPIGetItemsParams`](../interfaces/FanAPIGetItemsParams.md) |
|
|
|
|
|
|
|
|
#### Returns
|
|
|
|
|
|
|
|
`Promise`<[`FanPageItemsResult`](../interfaces/FanPageItemsResult.md)<`NonNullable`<``null`` \| [`Track`](../interfaces/Track.md) \| [`Album`](../interfaces/Album.md)\>\> \| [`FanContinuationItemsResult`](../interfaces/FanContinuationItemsResult.md)<`NonNullable`<``null`` \| [`Track`](../interfaces/Track.md) \| [`Album`](../interfaces/Album.md)\>\>\>
|
|
|
|
|
|
|
|
#### Overrides
|
|
|
|
|
|
|
|
[FanAPI](FanAPI.md).[getCollection](FanAPI.md#getcollection)
|
|
|
|
|
|
|
|
#### Defined in
|
|
|
|
|
2023-06-13 22:09:54 +02:00
|
|
|
[lib/fan/FanAPI.ts:145](https://github.com/patrickkfkan/bandcamp-fetch/blob/eace49c/src/lib/fan/FanAPI.ts#L145)
|
2023-06-10 16:52:27 +02:00
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
### getFollowingArtistsAndLabels
|
|
|
|
|
|
|
|
▸ `Static` **getFollowingArtistsAndLabels**(`params`): `Promise`<[`FanPageItemsResult`](../interfaces/FanPageItemsResult.md)<[`UserKind`](../interfaces/UserKind.md)\> \| [`FanContinuationItemsResult`](../interfaces/FanContinuationItemsResult.md)<[`UserKind`](../interfaces/UserKind.md)\>\>
|
|
|
|
|
|
|
|
#### Parameters
|
|
|
|
|
|
|
|
| Name | Type |
|
|
|
|
| :------ | :------ |
|
|
|
|
| `params` | [`FanAPIGetItemsParams`](../interfaces/FanAPIGetItemsParams.md) |
|
|
|
|
|
|
|
|
#### Returns
|
|
|
|
|
|
|
|
`Promise`<[`FanPageItemsResult`](../interfaces/FanPageItemsResult.md)<[`UserKind`](../interfaces/UserKind.md)\> \| [`FanContinuationItemsResult`](../interfaces/FanContinuationItemsResult.md)<[`UserKind`](../interfaces/UserKind.md)\>\>
|
|
|
|
|
|
|
|
#### Overrides
|
|
|
|
|
|
|
|
[FanAPI](FanAPI.md).[getFollowingArtistsAndLabels](FanAPI.md#getfollowingartistsandlabels)
|
|
|
|
|
|
|
|
#### Defined in
|
|
|
|
|
2023-06-13 22:09:54 +02:00
|
|
|
[lib/fan/FanAPI.ts:153](https://github.com/patrickkfkan/bandcamp-fetch/blob/eace49c/src/lib/fan/FanAPI.ts#L153)
|
2023-06-10 16:52:27 +02:00
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
### getFollowingGenres
|
|
|
|
|
|
|
|
▸ `Static` **getFollowingGenres**(`params`): `Promise`<[`FanPageItemsResult`](../interfaces/FanPageItemsResult.md)<[`Tag`](../interfaces/Tag.md)\> \| [`FanContinuationItemsResult`](../interfaces/FanContinuationItemsResult.md)<[`Tag`](../interfaces/Tag.md)\>\>
|
|
|
|
|
|
|
|
#### Parameters
|
|
|
|
|
|
|
|
| Name | Type |
|
|
|
|
| :------ | :------ |
|
|
|
|
| `params` | [`FanAPIGetItemsParams`](../interfaces/FanAPIGetItemsParams.md) |
|
|
|
|
|
|
|
|
#### Returns
|
|
|
|
|
|
|
|
`Promise`<[`FanPageItemsResult`](../interfaces/FanPageItemsResult.md)<[`Tag`](../interfaces/Tag.md)\> \| [`FanContinuationItemsResult`](../interfaces/FanContinuationItemsResult.md)<[`Tag`](../interfaces/Tag.md)\>\>
|
|
|
|
|
|
|
|
#### Overrides
|
|
|
|
|
|
|
|
[FanAPI](FanAPI.md).[getFollowingGenres](FanAPI.md#getfollowinggenres)
|
|
|
|
|
|
|
|
#### Defined in
|
|
|
|
|
2023-06-13 22:09:54 +02:00
|
|
|
[lib/fan/FanAPI.ts:157](https://github.com/patrickkfkan/bandcamp-fetch/blob/eace49c/src/lib/fan/FanAPI.ts#L157)
|
2023-06-10 16:52:27 +02:00
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
### getInfo
|
|
|
|
|
|
|
|
▸ `Static` **getInfo**(`params`): `Promise`<[`Fan`](../interfaces/Fan.md)\>
|
|
|
|
|
|
|
|
#### Parameters
|
|
|
|
|
|
|
|
| Name | Type |
|
|
|
|
| :------ | :------ |
|
|
|
|
| `params` | [`FanAPIGetInfoParams`](../interfaces/FanAPIGetInfoParams.md) |
|
|
|
|
|
|
|
|
#### Returns
|
|
|
|
|
|
|
|
`Promise`<[`Fan`](../interfaces/Fan.md)\>
|
|
|
|
|
|
|
|
#### Overrides
|
|
|
|
|
|
|
|
[FanAPI](FanAPI.md).[getInfo](FanAPI.md#getinfo)
|
|
|
|
|
|
|
|
#### Defined in
|
|
|
|
|
2023-06-13 22:09:54 +02:00
|
|
|
[lib/fan/FanAPI.ts:141](https://github.com/patrickkfkan/bandcamp-fetch/blob/eace49c/src/lib/fan/FanAPI.ts#L141)
|
2023-06-10 16:52:27 +02:00
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
### getWishlist
|
|
|
|
|
|
|
|
▸ `Static` **getWishlist**(`params`): `Promise`<[`FanPageItemsResult`](../interfaces/FanPageItemsResult.md)<`NonNullable`<``null`` \| [`Track`](../interfaces/Track.md) \| [`Album`](../interfaces/Album.md)\>\> \| [`FanContinuationItemsResult`](../interfaces/FanContinuationItemsResult.md)<`NonNullable`<``null`` \| [`Track`](../interfaces/Track.md) \| [`Album`](../interfaces/Album.md)\>\>\>
|
|
|
|
|
|
|
|
#### Parameters
|
|
|
|
|
|
|
|
| Name | Type |
|
|
|
|
| :------ | :------ |
|
|
|
|
| `params` | [`FanAPIGetItemsParams`](../interfaces/FanAPIGetItemsParams.md) |
|
|
|
|
|
|
|
|
#### Returns
|
|
|
|
|
|
|
|
`Promise`<[`FanPageItemsResult`](../interfaces/FanPageItemsResult.md)<`NonNullable`<``null`` \| [`Track`](../interfaces/Track.md) \| [`Album`](../interfaces/Album.md)\>\> \| [`FanContinuationItemsResult`](../interfaces/FanContinuationItemsResult.md)<`NonNullable`<``null`` \| [`Track`](../interfaces/Track.md) \| [`Album`](../interfaces/Album.md)\>\>\>
|
|
|
|
|
|
|
|
#### Overrides
|
|
|
|
|
|
|
|
[FanAPI](FanAPI.md).[getWishlist](FanAPI.md#getwishlist)
|
|
|
|
|
|
|
|
#### Defined in
|
|
|
|
|
2023-06-13 22:09:54 +02:00
|
|
|
[lib/fan/FanAPI.ts:149](https://github.com/patrickkfkan/bandcamp-fetch/blob/eace49c/src/lib/fan/FanAPI.ts#L149)
|