Code Monkey home page Code Monkey logo

ssdc-practical-checker's Introduction

SSDC Driving Lesson Checker Build Status codecov

Singapore has a ridiculous amount of people who wants to learn driving each day. It is not possible for a single school to accomodate everyone to book their driving lessons. Driving lessons are difficult to book if you want a lesson in the near future (e.g. this week). On average, a person waits at least a month before starting their practical driving lessons.

I can't spend 20 seconds to type my username and password into a website that expires my ASP.NET session almost every 30 minutes. So i spent a few hours of my life writing something that can help me to do some web crawling so that I'm able to get notified if there is a driving lesson available for booking.

Requirements

How to use

  1. Fill in your username and password in the .credentials.template.json file
  2. Rename it to .credentials.json
  3. Run the script with the following command
go run main.go
  1. Script will run at a fixed interval

Todos

  1. Send notifications/email if there is an available lesson this week
  2. Support input parameter for the fixed polling interval instead of hardcoding it
  3. Increase search range for booking (beyond the current week)

ssdc-practical-checker's People

Contributors

shouxian92 avatar

Watchers

 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.