this post was submitted on 03 Jan 2024
21 points (100.0% liked)
Programming
423 readers
3 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I'm going to assume you're going to go ahead with the idea. You could make use of the fact that every lemmy based community has an RSS feed.
Yes, I'm working on it now. Struggling with basic stuff like pulling values out of the json returned by the API when I ask for a list of posts. Python really does not click for me, but I'm determined, for now, to keep at it. An the RSS feed seems like a much easier (than what..?) way to just get new posts with each run - thank you!
I don't like Python either. But I use it because it's widely used because many others find it easy to learn and work with (I guess people like us think a bit differently). Maybe you should forge ahead with PHP (it's having a mini resurgence in popularity).
If you're sticking with Python, make sure you use the built in json module. If you need a plain English tutorial, this tutorial on the json module is solid. If you want some real time help you can always chat in the Python Matrix Room (#python:matrix.org).