Skip to content

Latest commit

 

History

History
124 lines (69 loc) · 2.83 KB

InsightsService.md

File metadata and controls

124 lines (69 loc) · 2.83 KB

instagram-private-api / services / InsightsService

Class: InsightsService

services.InsightsService

Hierarchy

  • Repository

    InsightsService

Table of contents

Constructors

Methods

Constructors

constructor

new InsightsService(client)

Parameters

Name Type
client IgApiClient

Inherited from

Repository.constructor

Defined in

src/core/repository.ts:7

Methods

account

account(options): Promise<InsightsServiceAccountResponseRootObject>

Parameters

Name Type
options AccountInsightsOptions

Returns

Promise<InsightsServiceAccountResponseRootObject>

Defined in

src/services/insights.service.ts:7


igtv

igtv(mediaId): Promise<Object>

Parameters

Name Type
mediaId string

Returns

Promise<Object>

Defined in

src/services/insights.service.ts:43


post

post(mediaId): Promise<InsightsServicePostResponseRootObject>

Parameters

Name Type
mediaId string

Returns

Promise<InsightsServicePostResponseRootObject>

Defined in

src/services/insights.service.ts:27


story

story(storyId): Promise<StoriesInsightsFeedResponseRootObject>

Parameters

Name Type
storyId string

Returns

Promise<StoriesInsightsFeedResponseRootObject>

Defined in

src/services/insights.service.ts:59