For more information take a look at my program on Github. I used the PRAW python library to interact with the Reddit API in order to download the images from the desired subreddit, in my opinion it’s the best Reddit library for python by far. I don’t want to go in depth into this module since it’s beyond the scope of this topic. Before we get started, let me make it clear that creating such a bot is pretty simple even if you are not a proficient programmer. If you want to check out the bot in action, take a look at it’s profile here. The Bot - This is where the core function of the bot lies, here I make use of the Twitter API to tweet out the images that were downloaded by the Image Scraper.Image Scraper - In order to create a collection of images I decided to built a scraper that would download images from a particular subreddit.This bot that I had in mind involved two main modules: My idea was pretty simple, create a Twitter Bot that automatically tweets out images from a well sorted assortment of pictures belonging to particular category.
Creating a bot can be a great way to familiarize yourself in the world of APIs and Automation, that’s exactly what I tried to go through this venture.