api icon indicating copy to clipboard operation
api copied to clipboard

The API return empty data but succes status_response

Open dasisro-trendlab opened this issue 5 years ago • 1 comments

Hello, I'm working on this API and when I made a request for example: https://api.pushshift.io/reddit/search/submission/?q=trump&after=1800&aggs=created_utc&frecuency=daily&size=0

The response return 200 status code but empty data ('data': [])

Somebody can say to me what I'm doing wrong??

Thanks in advance

dasisro-trendlab avatar Nov 09 '20 22:11 dasisro-trendlab

You are doing nothing wrong. Here is a post by Jason about the general issue. Here also asks for input, what are you looking for.

EDIT: One thing. Are you sure that it is frequence=daily and not frequency=day? Check the documentation here.

moritzhoferer avatar Nov 11 '20 12:11 moritzhoferer