lnuanez
13 years agoGuide
Getting the number of messages under all boards of a given category
Hi all,
Trying to figure out how to do this with one API call so I don't need to loop through a result with multiple API calls.
Given a particular category ID, I want to get a list of all boards under that category, and the number of posts in each of those boards.
I see how to do this with one call to get the list of boards:
/categories/id/XXX/boasrds
Then I can loop through that, calling:
/boards/id/YYY/messages/count
But that seems far from optimal. Can this be done with 1 call?
Thanks!