Sign in to follow this  
ssusnic

[Tutorial] Reddit's Image Scraper and what games could be made using Reddit JSON data

Recommended Posts

Hi all,

Regarding Reddit JSON API, you can get a JSON document by adding /.json to any Reddit URL. This can be used to extract various data from any subreddit making an image viewer/browser for instance. Furthermore, all images and their data scraped from a Reddit JSON could be also used to make some simple games.
Here are some ideas:

  • guessing which of two images has a better/worse upvotes score
  • guessing a right range of upvotes for an image choosing between 2 or 3 different ranges
  • guessing a title of an image choosing between 2 or 3 different titles as fast as possible

So I decided to create a game based on some of these ideas in HTML5 using Phaser framework. But first of all, I need a tool for scraping images from a Reddit JSON file and I made it. The application and a short tutorial about its creation with the fully commented source code can be found here:

 

http://www.askforgametask.com/2015/12/07/reddit-image-scraper/

In the next step I will try to make an HTML5 game using database of images generated by this tool.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.