A Sinatra app that produces an RSS feed of a user's Steam screenshots.
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Gemfile
Gemfile.lock
LICENSE.txt
README.md
app.rb
config.ru
ifttt-screenshot.png
steam_app.rb
steam_fetcher.rb
steam_screenshot.rb
steam_user_screenshot_rss.rb

README.md

Steam Screenshots RSS

A Sinatra app that produces an RSS feed of a user's Steam screenshots.

How to Run

bundle
rackup

Visit localhost:9292 to see an RSS feed of my Steam screenshots. Pass the user parameter to specify a different Steam user name, e.g., http://localhost:9292?user=mySteamName.

How it Works

Steam has a web API, but it doesn't include any way of getting a user's screenshots. Ruby and Mechanize to the rescue! This script will scrape a user's screenshot page and grab the screenshots. The screenshots are then listed in an RSS feed so you can consume it with, say, IFTTT.

IFTTT Recipe

Deploy this app to a server, Heroku is pretty easy. Then, set up a recipe on IFTTT with the Feed channel. Set the URL to wherever you deployed this app. Be sure to pass the user parameter to set your Steam name! Choose 'New feed item' for the IFTTT trigger.

For a Tumblr recipe, the following works:

Tumblr IFTTT recipe