GithubHelp home page GithubHelp logo

skygarden's Introduction

Skygarden Seat monitor

London is full of fun stuff, but some of it is kind of hard to get into. The Skygarden in the Walkie Talkie building is one of those. It tends to book out pretty quickly (as they limit space) and tickets only become available once a week. Nobody has time for that.

So then what's this?

This little node script is set up to check the dates you give it for more then 2 seats. After that it'll send a push notification to your phone!

How do I make it work?

In 5 easy steps:

  • Sign up to (Pushover)[https://pushover.net/] (free for the first 7 days). This is a service that will allow the script to send push notifications to your smartphone (iOS and Android).
  • Create an application on Pushover
  • Install the pushover app on your smartphone and log in
  • Change the parameters in the script:

Change these to the tokens you got from Pushover:

  const push = new Pushover({
      token: "<your-pushover-application-token>", //CHANGE THIS
      user: "<your-pushover-user-token>"  //CHANGE THIS
  });

Change the dates to the ones you want tickets for. It's best to pick dates more then 2-3 weeks in advance where tickets haven't been released yet.

['2017-02-19', '2017-02-26', '2017-03-05'].forEach((date) => { //CHANGE THESE
  • Run npm install. Then run this script somewhere by cron. I had it running hourly:

    0 * * * * node /opt/skygarden/index.js
    

skygarden's People

Contributors

bartvangeneugden avatar

Stargazers

6r6 avatar Fabio avatar Francesc Rosas avatar

Watchers

James Cloos avatar

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.