Skip to main content

InsightApiClientInterface

Methods

getBestContributionInsight()

getBestContributionInsight(params?, config?): Promise <SCPaginatedResponse<SCContributionInsightType>>

Parameters

ParameterType
params?InsightContributionParams
config?AxiosRequestConfig<any>

Returns

Promise <SCPaginatedResponse<SCContributionInsightType>>

Source

services/insight/index.ts:16


getBestEmbedInsight()

getBestEmbedInsight(params?, config?): Promise <SCPaginatedResponse<SCEmbedInsightType>>

Parameters

ParameterType
params?InsightEmbedParams
config?AxiosRequestConfig<any>

Returns

Promise <SCPaginatedResponse<SCEmbedInsightType>>

Source

services/insight/index.ts:20


getBestUsersInsight()

getBestUsersInsight(params?, config?): Promise <SCPaginatedResponse<SCUsersInsightType>>

Parameters

ParameterType
params?InsightUserParams
config?AxiosRequestConfig<any>

Returns

Promise <SCPaginatedResponse<SCUsersInsightType>>

Source

services/insight/index.ts:21


getContributionsInsightCounters()

getContributionsInsightCounters(id, config?): Promise<SCContributionInsightCountersType>

Parameters

ParameterType
idstring | number
config?AxiosRequestConfig<any>

Returns

Promise<SCContributionInsightCountersType>

Source

services/insight/index.ts:22


getEmbedsInsightCounters()

getEmbedsInsightCounters(type, id, config?): Promise<SCEmbedInsightCountersType>

Parameters

ParameterType
typestring
idstring | number
config?AxiosRequestConfig<any>

Returns

Promise<SCEmbedInsightCountersType>

Source

services/insight/index.ts:23


getUsersInsightCounters()

getUsersInsightCounters(id, config?): Promise<SCUsersInsightCountersType>

Parameters

ParameterType
idstring | number
config?AxiosRequestConfig<any>

Returns

Promise<SCUsersInsightCountersType>

Source

services/insight/index.ts:24