Topics
Topics from Events
Find (or search for) topics and the count of events with matches
GET /topics/from_events
Parameter | Type | DataType | Description |
---|---|---|---|
size | query | integer | The number of matches to return |
search | query | string | Search term |
from_index | query | integer | The index to start returning from, combine with size for paging |
Response
[
{
"topic_id": "919239",
"topic": "Interest Rates",
"event_count": 1003
}
]
Code Samples
Bash
curl --request GET \
--url 'https://premium.aiera.com/api/topics/from_events' \
--header 'X-API-Key: xxx'
Python
import requests
requests.get("https://premium.aiera.com/api/topics/from_events", headers={"X-API-Key": "xxx"})