api
api copied to clipboard
Pushshift API
``` start = dt.datetime.now(timezone.utc) - timedelta(hours=0, minutes=120) end = dt.datetime.now(timezone.utc) start_utc_time = start.replace(tzinfo=timezone.utc) start_time = int(start_utc_time.timestamp()) end_utc_time = end.replace(tzinfo=timezone.utc) end_time = int(end_utc_time.timestamp()) ``` this is what I'm trying to get...
The current upper limit of size is "100", not "500". Please see https://www.reddit.com/dev/api/#GET_api_trending_subreddits. Thank you!
Hi, It appears that the server is down. I am getting 521 error codes. Cheers, 
Consider the following request: `https://api.pushshift.io/reddit/search/comment/?q=science&fields=score,score_hidden`. I get the following response: ``` { "data": [ { "score": 1, "score_hidden": true }, { "score": 1, "score_hidden": true }, { "score": 1, "score_hidden":...
1. There are some minor typos in the README file, such as "content mode" instead of "contest mode", among others. 2. The parameters are also slightly difficult to distinguish when...
Hello! **I am trying to get the "link_id" for reddit posts based on a title search.** For example, when I search : https://api.pushshift.io/reddit/search/submission/?title=trump I get the following results: ``` "data":...
I found this reddit post here - https://www.reddit.com/r/obama/comments/xgsxy7/donald_trump_and_barack_obama_are_among_the/ . **I would like to use the API in such a way, such that I can get all the comments from this...
"https://api.pushshift.io/reddit/search/{data_type}/" either data_type=submission or comment
I'm using this API to get submissions from a subreddit. The API returned the below data, where the `score` at the time is 6. ``` { "author": "Yamamba78", "author_flair_css_class": null,...
API endpoints referenced within the documentation return an empty array, whereas it should return some results. I tried to swich around parameters, but no way, no how. In this segment:...