Using Python, How can I create a bot/script that let’s me re-post a subreddit’s post to Lemmy?

Just wanted to do a simple little project to practice my programming skills.

I just need to know the outline/backbone of things I should know to do this project.

  • freamon@feddit.nl
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    PRAW is the Python wrapper for Reddit’s API, and searching github for “lemmy api python” revealed some results, so you’d use one API to download a post, and the other to upload it.

    There’s existing bots that do this though, and they all seem to just fill feeds with indiscriminate, un-replied to, spam