I'm having trouble figuring out exactly what number_of_total_results is returning. The documentation states that it is "The number of total results matching the filter conditions specified". But when I grab some data my actual result count is often less than what returns via number_of_total_results. I'm trying to run a query to just the game resource.
For example:
http://api.giantbomb.com/search/?api_key=XXX&resources=game&query=final+fantasy
This returns the following:
number_of_total_results: 55
number_of_page_results: 20
actual results: 20
Maybe I'm missing something? please help. thanks!
*edit:
durr.
just answered my own question. maybe I should read deeper next time. the results returned can't exceed 20. Thus, total results are total and page are how many on the page. using offset you can paginate the data.
I'm an idiot.
number_of_total_results, number_of_page_results, actual results
Please Log In to post.
Log in to comment