Coder Social home page Coder Social logo

cheshire137 / steam-screenshots-rss Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 1.0 66 KB

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

License: MIT License

Ruby 100.00%
rss-feed steam video-games screenshots sinatra-applications

steam-screenshots-rss's Introduction

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

steam-screenshots-rss's People

Contributors

cheshire137 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

nuttertkk

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.