Class: InsightsService
September 10, 2021 · View on GitHub
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
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>