Social Data Functions
SAN_PROJECT_SOCIAL_DATA
SAN_PROJECT_SOCIAL_DATA(projectSlug) ⇒ Array
Returns social data for a specified project.
- Kind: global function
- Returns:
Array
- of project's social data. - Customfunction:
Param | Type | Description |
---|---|---|
projectSlug | string | Name of the asset at sanbase, which can be found at the end of the URL (eg. the Santiment URL is https://app.santiment.net/projects/santiment, so the projectSlug would be santiment). |
SAN_SOCIAL_DOMINANCE
SAN_SOCIAL_DOMINANCE(projectSlug, from, to, source, interval) ⇒ Array
Returns the social dominance for a slug.
- Kind: global function
- Returns:
Array
- of the slug's social dominance. - Customfunction:
Param | Type | Description |
---|---|---|
projectSlug | string | Name of the asset, more info at https://academy.santiment.net/glossary/#slug. Example: "santiment". |
from | date | The starting date to fetch the data. Example: DATE(2018, 9, 20) |
to | date | The ending date to fetch the data. Example: DATE(2018, 9, 21) |
source | string | The source of mention counts, one of the following: "TELEGRAM_CHATS_OVERVIEW", "TELEGRAM_DISCUSSION_OVERVIEW", "TWITTER_CHATS_OVERVIEW", "REDDIT_COMMENTS_OVERVIEW", "TOTAL" |
interval | string | The resolution with which the data is fetched. Example: "5m" |
SAN_SOCIAL_DOMINANCE_AGGREGATED
SAN_SOCIAL_DOMINANCE_AGGREGATED(projectSlug, from, to, source, aggregation) ⇒ number
Returns the social dominance for a slug.
- Kind: global function
- Returns:
number
- of aggregated the slug's social dominance. - Customfunction:
Param | Type | Description |
---|---|---|
projectSlug | string | Name of the asset, more info at https://academy.santiment.net/glossary/#slug. Example: "santiment". |
from | date | The starting date to fetch the data. Example: DATE(2018, 9, 20) |
to | date | The ending date to fetch the data. Example: DATE(2018, 9, 21) |
source | string | The source of mention counts, one of the following: "TELEGRAM_CHATS_OVERVIEW", "TELEGRAM_DISCUSSION_OVERVIEW", "TWITTER_CHATS_OVERVIEW", "REDDIT_COMMENTS_OVERVIEW", "TOTAL" |
aggregation | string | Aggregation for the timeseries metrics. Example: "LAST" |
SAN_SOCIAL_DOMINANCE_MULTIPLE_SLUGS
SAN_SOCIAL_DOMINANCE_MULTIPLE_SLUGS(projectSlugsList, from, to, source, interval) ⇒ Array
Returns the social dominance for a slug.
- Kind: global function
- Returns:
Array
- of results for multiple slugs the slug's social dominance. - Customfunction:
Param | Type | Description |
---|---|---|
projectSlugsList | string | Comma-separated names of the assets, more info at https://academy.santiment.net/glossary/#slug. Example: "santiment,bitcoin". |
from | date | The starting date to fetch the data. Example: DATE(2018, 9, 20) |
to | date | The ending date to fetch the data. Example: DATE(2018, 9, 21) |
source | string | The source of mention counts, one of the following: "TELEGRAM_CHATS_OVERVIEW", "TELEGRAM_DISCUSSION_OVERVIEW", "TWITTER_CHATS_OVERVIEW", "REDDIT_COMMENTS_OVERVIEW", "TOTAL" |
interval | string | The resolution with which the data is fetched. Example: "5m" |
SAN_SOCIAL_VOLUME
SAN_SOCIAL_VOLUME(projectSlug, from, to, source, interval) ⇒ Array
Returns the social volume for a slug.
- Kind: global function
- Returns:
Array
- of the slug's social volume. - Customfunction:
Param | Type | Description |
---|---|---|
projectSlug | string | Name of the asset, more info at https://academy.santiment.net/glossary/#slug. Example: "santiment". |
from | date | The starting date to fetch the data. Example: DATE(2018, 9, 20) |
to | date | The ending date to fetch the data. Example: DATE(2018, 9, 21) |
source | string | The source of mention counts, one of the following: "TELEGRAM_CHATS_OVERVIEW", "TELEGRAM_DISCUSSION_OVERVIEW", "TWITTER_CHATS_OVERVIEW", "REDDIT_COMMENTS_OVERVIEW", "TOTAL" |
interval | string | The resolution with which the data is fetched. Example: "5m" |
SAN_SOCIAL_VOLUME_AGGREGATED
SAN_SOCIAL_VOLUME_AGGREGATED(projectSlug, from, to, source, aggregation) ⇒ number
Returns the social volume for a slug.
- Kind: global function
- Returns:
number
- of aggregated the slug's social volume. - Customfunction:
Param | Type | Description |
---|---|---|
projectSlug | string | Name of the asset, more info at https://academy.santiment.net/glossary/#slug. Example: "santiment". |
from | date | The starting date to fetch the data. Example: DATE(2018, 9, 20) |
to | date | The ending date to fetch the data. Example: DATE(2018, 9, 21) |
source | string | The source of mention counts, one of the following: "TELEGRAM_CHATS_OVERVIEW", "TELEGRAM_DISCUSSION_OVERVIEW", "TWITTER_CHATS_OVERVIEW", "REDDIT_COMMENTS_OVERVIEW", "TOTAL" |
aggregation | string | Aggregation for the timeseries metrics. Example: "LAST" |
SAN_SOCIAL_VOLUME_MULTIPLE_SLUGS
SAN_SOCIAL_VOLUME_MULTIPLE_SLUGS(projectSlugsList, from, to, source, interval) ⇒ Array
Returns the social volume for a slug.
- Kind: global function
- Returns:
Array
- of results for multiple slugs the slug's social volume. - Customfunction:
Param | Type | Description |
---|---|---|
projectSlugsList | string | Comma-separated names of the assets, more info at https://academy.santiment.net/glossary/#slug. Example: "santiment,bitcoin". |
from | date | The starting date to fetch the data. Example: DATE(2018, 9, 20) |
to | date | The ending date to fetch the data. Example: DATE(2018, 9, 21) |
source | string | The source of mention counts, one of the following: "TELEGRAM_CHATS_OVERVIEW", "TELEGRAM_DISCUSSION_OVERVIEW", "TWITTER_CHATS_OVERVIEW", "REDDIT_COMMENTS_OVERVIEW", "TOTAL" |
interval | string | The resolution with which the data is fetched. Example: "5m" |
SAN_SOCIAL_VOLUME_PROJECTS
SAN_SOCIAL_VOLUME_PROJECTS() ⇒ Array
Returns a list of project slugs for which there is social volume data.
- Kind: global function
- Returns:
Array
- of social volume projects. - Customfunction:
SAN_WEIGHTED_SOCIAL_SENTIMENT
SAN_WEIGHTED_SOCIAL_SENTIMENT(projectSlug, from, to, source, interval) ⇒ Array
Returns the weighted social sentiment for a slug.
- Kind: global function
- Returns:
Array
- of the slug's weighted social sentiment. - Customfunction:
Param | Type | Description |
---|---|---|
projectSlug | string | Name of the asset, more info at https://academy.santiment.net/glossary/#slug. Example: "santiment". |
from | date | The starting date to fetch the data. Example: DATE(2018, 9, 20) |
to | date | The ending date to fetch the data. Example: DATE(2018, 9, 21) |
source | string | The source of mention counts, one of the following: "TELEGRAM_CHATS_OVERVIEW", "TELEGRAM_DISCUSSION_OVERVIEW", "TWITTER_CHATS_OVERVIEW", "REDDIT_COMMENTS_OVERVIEW", "TOTAL" |
interval | string | The resolution with which the data is fetched. Example: "5m" |
SAN_WEIGHTED_SOCIAL_SENTIMENT_AGGREGATED
SAN_WEIGHTED_SOCIAL_SENTIMENT_AGGREGATED(projectSlug, from, to, source, aggregation) ⇒ number
Returns the weighted social sentiment for a slug.
- Kind: global function
- Returns:
number
- of aggregated the slug's weighted social sentiment. - Customfunction:
Param | Type | Description |
---|---|---|
projectSlug | string | Name of the asset, more info at https://academy.santiment.net/glossary/#slug. Example: "santiment". |
from | date | The starting date to fetch the data. Example: DATE(2018, 9, 20) |
to | date | The ending date to fetch the data. Example: DATE(2018, 9, 21) |
source | string | The source of mention counts, one of the following: "TELEGRAM_CHATS_OVERVIEW", "TELEGRAM_DISCUSSION_OVERVIEW", "TWITTER_CHATS_OVERVIEW", "REDDIT_COMMENTS_OVERVIEW", "TOTAL" |
aggregation | string | Aggregation for the timeseries metrics. Example: "LAST" |
SAN_WEIGHTED_SOCIAL_SENTIMENT_MULTIPLE_SLUGS
SAN_WEIGHTED_SOCIAL_SENTIMENT_MULTIPLE_SLUGS(projectSlugsList, from, to, source, interval) ⇒ Array
Returns the weighted social sentiment for a slug.
- Kind: global function
- Returns:
Array
- of results for multiple slugs the slug's weighted social sentiment. - Customfunction:
Param | Type | Description |
---|---|---|
projectSlugsList | string | Comma-separated names of the assets, more info at https://academy.santiment.net/glossary/#slug. Example: "santiment,bitcoin". |
from | date | The starting date to fetch the data. Example: DATE(2018, 9, 20) |
to | date | The ending date to fetch the data. Example: DATE(2018, 9, 21) |
source | string | The source of mention counts, one of the following: "TELEGRAM_CHATS_OVERVIEW", "TELEGRAM_DISCUSSION_OVERVIEW", "TWITTER_CHATS_OVERVIEW", "REDDIT_COMMENTS_OVERVIEW", "TOTAL" |
interval | string | The resolution with which the data is fetched. Example: "5m" |
Updated 1 year ago
Talk to us in Discord
Still have some questions left? Join our Discord and get help from the Santiment team!
Go to Discord