To export a subset of documents from your Talkwalker's project, you need to retrieve :
- The project ID of the projects.
- The topic or filter ID you want to filter on. This is not mandatory.
These IDs will be used as parameters on the search API to extract only data you're interested in.
Retrieve list of projects
curl -L -X GET 'https://api.talkwalker.com/api/v1/search/info?access_token=<access_token>'
Retrieve list of topics
curl -L -X GET 'https://api.talkwalker.com/api/v2/talkwalker/p/a2ce1ade-a513-413f-868c-fafc25ba9a23/resources?type=search&access_token=<access_token>'
To retrieve the filters, you can use the value
filter in the
Retrieve documents from one topic
curl -L -X GET 'https://api.talkwalker.com/api/v1/search/p/<project_id>/results?topic=<topic_id>&access_token=<access_token>'
By default, it sort the results by
engagement descending, like in Talkwalker UI.
For the full list of parameters, please see the the API page.