this post was submitted on 24 Jun 2023
304 points (100.0% liked)
Technology
37804 readers
247 users here now
A nice place to discuss rumors, happenings, innovations, and challenges in the technology sphere. We also welcome discussions on the intersections of technology and society. If it’s technological news or discussion of technology, it probably belongs here.
Remember the overriding ethos on Beehaw: Be(e) Nice. Each user you encounter here is a person, and should be treated with kindness (even if they’re wrong, or use a Linux distro you don’t like). Personal attacks will not be tolerated.
Subcommunities on Beehaw:
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
https://reddit.0qz.fun/r/news.json
There are a lot of options but this site will turn the JSON into XML for RSS. If you want it in JSON format you can just use Reddit
https://reddit.com/r/news.json
Edit: Reddit also does RSS but it is kinda gross
https://reddit.com/r/news/.rss
Any links to things you can do with that JSON file? I don't really know Java but it'd be cool to mess around with it in Python some. Searching "reddit python JSON" is obviously not very helpful.
Oh you can just use something like this:
import requests import json
json_string = requests.get('https://reddit.com/r/news.json')
json_dict = json.loads(json_string)