Skip to content

Latest commit

 

History

History
244 lines (130 loc) · 5.08 KB

LocationFeed.md

File metadata and controls

244 lines (130 loc) · 5.08 KB

instagram-private-api / feeds / LocationFeed

Class: LocationFeed

feeds.LocationFeed

Hierarchy

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new LocationFeed(client)

Parameters

Name Type
client IgApiClient

Inherited from

Feed.constructor

Defined in

src/core/repository.ts:7

Properties

attemptOptions

attemptOptions: Partial<AttemptOptions<any>>

Inherited from

Feed.attemptOptions

Defined in

src/core/feed.ts:10


id

id: string | number

Defined in

src/feeds/location.feed.ts:7


tab

tab: "recent" | "ranked"

Defined in

src/feeds/location.feed.ts:8

Accessors

items$

get items$(): Observable<Item[]>

Returns

Observable<Item[]>

Defined in

src/core/feed.ts:18

Methods

deserialize

deserialize(data): void

Parameters

Name Type
data string

Returns

void

Inherited from

Feed.deserialize

Defined in

src/core/feed.ts:79


isMoreAvailable

isMoreAvailable(): boolean

Returns

boolean

Inherited from

Feed.isMoreAvailable

Defined in

src/core/feed.ts:87


items

items(): Promise<LocationFeedResponseMedia[]>

Returns

Promise<LocationFeedResponseMedia[]>

Overrides

Feed.items

Defined in

src/feeds/location.feed.ts:41


observable

observable(semaphore?, attemptOptions?): Observable<LocationFeedResponseMedia[]>

Parameters

Name Type
semaphore? () => Promise<any>
attemptOptions? Partial<AttemptOptions<any>>

Returns

Observable<LocationFeedResponseMedia[]>

Inherited from

Feed.observable

Defined in

src/core/feed.ts:21


request

request(): Promise<LocationFeedResponse>

Returns

Promise<LocationFeedResponse>

Overrides

Feed.request

Defined in

src/feeds/location.feed.ts:23


serialize

serialize(): string

Returns

string

Inherited from

Feed.serialize

Defined in

src/core/feed.ts:75


toPlain

toPlain(): Record<string, any>

Returns

Record<string, any>

Inherited from

Feed.toPlain

Defined in

src/core/feed.ts:83