3

I have this request URL:

https://api.stackexchange.com/2.2/tags/python/top-answerers/all_time?page=1&pagesize=100&site=stackoverflow&filter=!9Z(-x.0nI

What I need is to have a pagination of users who answers with the tag python. The API will return only 20 items of users instead of 100, sigh. I don't have a clue how to solve this.

3

According to the documentation for /tags/{tag}/top-answerers/{period},

Returns the top 30 answerers active in a single tag, of either all-time or the last 30 days.

But there's a bug in the documentation - it's supposed to be 20, not 30. And that's all you can get.

Unfortunately, there's no obvious (to me at least) method of retrieving all users who've ever been active in a tag via the API; you'd have to pull all the questions & answers for the tag with their authors & build that list yourself.

  • I would probably scrape than using their API. Thanks for the clarification. – PyHunterMan Jan 17 at 1:42
  • That's probably even slower... Check out SEDE – Shog9 Jan 17 at 1:46
  • Thank you very much. – PyHunterMan Jan 17 at 3:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .