instagram-private-api / feeds / MusicTrendingFeed
feeds.MusicTrendingFeed
-
Feed
<MusicTrendingFeedResponseRootObject
,MusicTrendingFeedResponseItemsItem
>↳
MusicTrendingFeed
• new MusicTrendingFeed(client
)
Name | Type |
---|---|
client |
IgApiClient |
• attemptOptions: Partial
<AttemptOptions
<any
>>
• product: string
src/feeds/music-trending.feed.ts:11
• get
items$(): Observable
<Item
[]>
Observable
<Item
[]>
▸ deserialize(data
): void
Name | Type |
---|---|
data |
string |
void
▸ isMoreAvailable(): boolean
boolean
src/feeds/music-trending.feed.ts:39
▸ items(): Promise
<MusicTrendingFeedResponseItemsItem
[]>
Promise
<MusicTrendingFeedResponseItemsItem
[]>
src/feeds/music-trending.feed.ts:13
▸ observable(semaphore?
, attemptOptions?
): Observable
<MusicTrendingFeedResponseItemsItem
[]>
Name | Type |
---|---|
semaphore? |
() => Promise <any > |
attemptOptions? |
Partial <AttemptOptions <any >> |
Observable
<MusicTrendingFeedResponseItemsItem
[]>
▸ request(): Promise
<MusicTrendingFeedResponseRootObject
>
Promise
<MusicTrendingFeedResponseRootObject
>
src/feeds/music-trending.feed.ts:18
▸ serialize(): string
string
▸ toPlain(): Record
<string
, any
>
Record
<string
, any
>