Skip to main content

InsightApiClientInterface

Methods

getBestContributionInsight()

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

Parameters

ParameterType
params?InsightContributionParams
config?AxiosRequestConfig

Returns

Promise<SCPaginatedResponse<SCContributionInsightType>>


getBestEmbedInsight()

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

Parameters

ParameterType
params?InsightEmbedParams
config?AxiosRequestConfig

Returns

Promise<SCPaginatedResponse<SCEmbedInsightType>>


getBestUsersInsight()

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

Parameters

ParameterType
params?InsightUserParams
config?AxiosRequestConfig

Returns

Promise<SCPaginatedResponse<SCUsersInsightType>>


getContributionsInsightCounters()

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

Parameters

ParameterType
idstring | number
config?AxiosRequestConfig

Returns

Promise<SCContributionInsightCountersType>


getEmbedsInsightCounters()

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

Parameters

ParameterType
typestring
idstring | number
config?AxiosRequestConfig

Returns

Promise<SCEmbedInsightCountersType>


getUsersInsightCounters()

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

Parameters

ParameterType
idstring | number
config?AxiosRequestConfig

Returns

Promise<SCUsersInsightCountersType>