Code Monkey home page Code Monkey logo

shimsham's Introduction

shimsham

Api Shim for finding out what beer is on tap while being notified via IFTTT. Data is sourced from Untappd via OAuth2 integration. Also utilizes Google Analytics, New Relic, and Python to parse HTML information from websites.

Introduction

Django app that provides an API endpoint for IFTTT notification services. IFTTT will regularly poll various endpoint for a list of stored events - not realtime.

API endpoint and channels

The IFTTT endpoint will route traffic through a single API. It will post data to specific Triggers

Untappd Updates

Functionality - Enter a Venue name and receive a notification if a new, unique beer is checked in.

Website Down - Retired

Functionality - Enter a FQDN to monitor and get notified if the status changes.

Beer On Tap

Functionality - Monitor either The Trappist or City Beer Store for changes to their tap list. If a Brewery you enter has something added, IFTTT will trigger a notification.

Beer Updates

Functionality - Get notified if either The Trappist or City Beer Store updates their tap list

shimsham's People

Contributors

odoedkiy avatar osowskit avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

fullerkh

shimsham's Issues

Move DB updates to cron

The app shouldn't tie DB updates to IFTTT calls. The data updates should be on a local schedule.

Enable User Authentication

Add Oauth flow to get User Token (store in model)
Get User name using Endpoint: /v4/user/info/
Remove POST form entry from '/' template
Save access_token for user as session variable
Add response parsing routines to dashboard Displays wishlist beer for user and a few public checkins for that beer

Rate-Limiting
All API applications are rate-limited to protect against abuse and keep the platform healthly. The default limit for API access is 100 calls per hour per key. If you are using Authentication, the rate limit is applied to the user, instead of the API key.

get venue information from untappd

Untappd provides a non-authentication RSS feed for venue checkins.

  • find RSS parser
  • extract relevant data and store in DB
  • provide endpoint to access this data

Add Beer notification

Monitor City Beer Store website for changes to beer on tap menu and maintain a list.
When a beer is removed, remove it from the stored list and create an event.
When a beer is added, add it to the stored list and create an event.
When IFTTT hits API point, send events for all matching beer at a the venue for the input Brewery.

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.