Code Monkey home page Code Monkey logo

badminton_avalability_checker's Introduction

Badminton Availability Checker

Badminton Availability Checker is a Selenium Web Scrapper bot built in Python for checking available badminton courts in Singapore.

In particular this bot will check for all courts in:

  • One PA
  • Active SG

Features

  • One time set-up for your username and password to access active sg (bogus details can be used if you don't intend to check Active SG)
  • Checks all available badminton courts for a particular day
  • Saves the result into a csv file for easy reference

Installation

I am assuming that you have no technical background and are starting from scratch. I am also assuming you are using Windows (sorry Mac users (||^_^))

STEP 1: Download latest version of python 3

This should be the first link

When installing:

  • check the box that says Add Python 3.x to PATH

STEP 2: Download the piloting driver for your Chrome browser here Make sure it's the right version

  • In chrome, click the three dot in the upper right hand corner -> help -> about google chrome, should be 80....)

STEP 3: Almost done!

  1. Download the files in this GitHub (Using the green button somewhere along the right hand side)
    • Extract them into a folder
  2. Open your command prompt (windows key, type "cmd", should be the first application)
  3. Navigate to where all the files are installed in
    • cd Downloads\EXTRACTED_FILENAME_HERE (if you placed the extracted folder in your downloads folder)
  4. type pip3 install -r requirements.txt

wait.

Once everything's done, you're good to go!

Usage

Navigate to the folder that contain the file on your command prompt

  • cd Downloads\EXTRACTED_FILENAME_HERE (if you placed the extracted folder in your downloads folder)

run the command:

python main.py

Possible features down the line

  • Check a particular court for all available booking slots
  • Check multiple courts for all available booking slots
  • Save a list of favourite courts to check

Contributing

Pull requests are welcome!

Feel free to open an issue if you found a bug or have any questions!

License

MIT

badminton_avalability_checker's People

Contributors

elasticbottle avatar happyharis 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.