Skip to main content

Auto book facilities through the HKUST FBS.

Project description

FBS AutoBook @ HKUST

FBS AutoBook @ HKUST is a Python & Streamlit app that automates booking facilities through the HKUST Facility Booking System (FBS).

Prerequisites

  • Python
    I use Python 3.11 for development, but I guess Python 3.10 / 3.9 should work fine too.
  • Chrome Browser
    For automate logging in to FBS (since there are some restrictions on the login process). I use Chrome 116.0, and I think any Chrome version should work.

Usage

Install the package through pip:

pip install fbs-autobook-at-hkust

After successful installation, run the app with the following command:

fbs-autobook-at-hkust

You shall see your browser window open with the app running.

Overview

The app has the following pages:

Welcome Page

Users can login with their ITSC credentials or a saved token. A disclaimer highlights that use of the app is at the user's own risk and may contradict HKUST's booking requirements.

Choose Facilities, Timeslot Date & Time Range

Users select which facilities to book, along with the desired booking date and time range. The app retrieves all available timeslots matching the criteria for future booking attempts.

Review and Confirm

A summary of the selected facilities and timeslots is shown for the user to review and confirm before proceeding. If FBS is open, the app shows the actual available timeslots. Otherwise, it displays the user-specified date and time range.

Book

The app automatically attempts to book the selected timeslots when they become available. Unavailability is often due to FBS closure or the 7-day advance booking limit. The result of each booking attempt is displayed as a success or failure message.

Features

  • Automated booking of multiple facilities when timeslots open up
  • Login with ITSC credentials / token
  • Custom selection of facilities, timeslot date and timeslot time range
  • Review & Confirm the facilities before booking
  • Status updates during booking process
  • Messages on successful / fail bookings with reasons

Tech Stack

  • Python
  • Streamlit for app UI

Disclaimer

This app contradicts HKUST's requirement for manual booking. Use at your own risk! The developer is not responsible for any consequences.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fbs_autobook_at_hkust-1.0.4.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fbs_autobook_at_hkust-1.0.4-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file fbs_autobook_at_hkust-1.0.4.tar.gz.

File metadata

  • Download URL: fbs_autobook_at_hkust-1.0.4.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.5 Windows/10

File hashes

Hashes for fbs_autobook_at_hkust-1.0.4.tar.gz
Algorithm Hash digest
SHA256 3509912ece34ffdb9bee51441df402b041199fec4cc6cc67c6e1eb8236b44e48
MD5 4c8ba85620a5b86aa89e174c360c1e28
BLAKE2b-256 852b3a75f199895b49e9cae9d37a3294aec5607e85a5a5db912e6673aa0dbd50

See more details on using hashes here.

File details

Details for the file fbs_autobook_at_hkust-1.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for fbs_autobook_at_hkust-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 db151bafda3c4cf6002b970cd6f0885d08aa507f388e920246bff3b06d9c092b
MD5 d6deb821efe08899817db0f974255616
BLAKE2b-256 4e7af88fc2e559b31d526238846741b4df3147719d4762cbd6871a8714415e01

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page