Coder Social home page Coder Social logo

kabuto's Introduction

kabuto

Kaboodle ticket resale watcher

Context

Kaboodle is a service that sells tickets to events, mainly electronic music at Printworks in London. For some events where the tickets have sold out, a "Resale queue" is made active. If one would like to attend a sold out event with the resale queue active, they would need to keep entering the Resale queue link and hoping some tickets were made available since there is no notification option.

Twilio is an API platform company which provides a tool to programmatically send text messages. One can sign up for a free trial which provides £15 free credit.

Functionality

kabuto is a python script that checks the resale queue - at an imperfectly defined interval - for available tickets to a particular event and sends a text message when at least 1 ticket becomes available.

Limitations

  • one must manually find the event ID for the event of interest, and amend the script accordingly.
  • one must manually create a Twilio account, and also have a mobile number. The relevant details must then be set as Environment Variables for the script to pick up.
  • one must manually obtain the Stripe cookie after selecting the resale link and assign it to the relevant Environment Variable.
  • the defined interval doesn't take into account the time it takes to run the script. This isn't very Pythonic but I don't care.
  • text messages will keep being sent for as long as tickets are available, potentially wasting Twilio credit.

Future work

  • get the right cookie and assign it to the relevant Environment Variable, automatically.
  • implement interactive function for setting Environment Variables according to the relevant Twilio and phone number details.
  • implement interactive function for choosing and setting the correct event ID.

kabuto's People

Contributors

12ian34 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.