i am just curious why no parameters are needed for the get request in the Challenge: Working With The Reddit API? The instructions say we are pulling the comments for 1 day, but I don’t see anything in the endpoint documentation or in the get request specifying any time. Just curious- thanks!
Could you provide us with the link?
sure, sorry about that, here is the link:
The instructions say " Get all of the comments on the
/r/python subreddit’s top post from the past day."
The API call is this: “response = requests.get(‘https://oauth.reddit.com/r/python/comments/4b7w9u’, headers=header)”
I was just curious how we would know the responses were from the past day with no params. Thanks!