How to return "total count" in the response?

2 posts / 0 new
Last post
volkan_unsal
How to return "total count" in the response?

 

I'm building an app using this API. I need to display the total number of hits matching the query in my app. I don't see where I might find this data in the results section. Can you help me out please?


MQBrianCoakley
If the response is held in a
If the response is held in a variable named data then you can find data.searchResults.length or data.resultsCount.