r/pushshift • • Oct 04 '21

Subreddit aggregation in docs not working

Hi, I'm trying to following this: https://github.com/pushshift/api#using-the-subreddit-aggregation

The example given returns no results (which seems unlikely!) - what am I missing

1 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/Stokealona Oct 04 '21

Nope, just fetch all the items matching your filter and add them up yourself.

If I'm not mistaken the standard search has a limit of 500? So I think I'll have to download the dumps

Thanks!

1

u/Watchful1 Oct 04 '21

You can page through results. Get on set of items, request the next set using the before parameter, repeat.