What are the downsides to simply using the .JSON urls and parsing the response vs making calls to the Reddit API?
I want to play around with creating some metadata for posts as a side-project to flex my coding muscles. Are there downsides to just downloading the JSON for a post by appending .json? What do you lose?
My understanding is that the Reddit API allows you to interact with reddit on behalf of the user. I don't have any aspirations like that. I am happy to work with whatever is publicly available to a non-logged in user. Are there any other downsides?
Thanks in advance!
Posted Sep 27, 2019, 1:13 PM UTC
[deleted]
Thank you very much!
Do you happen to know a library that does that, rather than wrap the API? I will do this myself, but it will be handy to have a reference library to work from. The JSON is pretty dense at first sight.
[deleted]
Thanks, that's a very useful insight! Off to github!
I’ve been using praw for a while and it’s really easy to work with. You can use it just to analyze posts and take user actions like replying or upvoting. It’s really a great library for python and the models are really simple to grasp.
Aren’t there limits to how many posts you can request in one page, and how many pages back you can go?