Skip to main content

Affinities Media

Returns the media data of the insight.

Getting Started

URL REQUEST (GET)
https://api.statsocial.com/platform/v0/reports/affinities/media

Can send a default baseline.
Available types: global, global_males, global_females, usa, usa_males, usa_females,UK, Canada, France, Germany, Italy, Spain, or any other insight hash.
If no baseline is specified, it defaults to global.

https://api.statsocial.com/platform/v0/reports/affinities/media?baseline=xxxx

Limit: 100 is default, max is 1000

https://api.statsocial.com/platform/v0/reports/affinities/media?limit=xxxx

Sort: value, index, similarity, name

https://api.statsocial.com/platform/v0/reports/affinities/media?sort=xxxx

Sort_idx: Which insights report to sort by

https://api.statsocial.com/platform/v0/reports/affinities/media?sort_idx=xxxx

Dir: sort direction, 'asc' or 'desc'; the default direction when the dir parameter is missing depends on the sort parameter: it's desc for sort={value,index,similarity} and asc for sort=name

https://api.statsocial.com/platform/v0/reports/affinities/media?dir=xxxx

index_min: minimum index

https://api.statsocial.com/platform/v0/reports/affinities/media?index_min=xxxx

index_max: maximum index

https://api.statsocial.com/platform/v0/reports/affinities/media?index_max=xxxx

value_min: minimum index

https://api.statsocial.com/platform/v0/reports/affinities/media?value_min=xxxx

value_max: maximum index

https://api.statsocial.com/platform/v0/reports/affinities/media?value_max=xxxx

Successful return

return response example
{
"information": {
"version": "string"
},
"response": {
"id": 0,
"status": "running"
}
}