How 60302700/automated-booking-python-udst works
This repository is a command-line gym and sports-facility booking tool for UDST, with a helper that generates recurring booking schedules. The main workflow logs in, discovers bookable facilities and rental limits, prepares a reservation, and submits it; the code also fetches guest details and supports sport categories. The excerpts show these responsibilities within gym.py but omit portions of its orchestration, so only clearly evidenced calls and HTTP interactions are connected. No README documentation was provided.
Main entry points: gym.py Booking CLI · schedule-make.py Schedule generator · sport_types.py Sport categories
Components 11
Booking runtime
- Booking CLI
gym.py - Session login
gym.py - Facility discovery
gym.py - Guest details
gym.py - Reservation submission
gym.py
Schedule generation
- Schedule generator
schedule-make.py - Generated schedule
schedule-make.py
Booking domain
- Sport categories
sport_types.py
Other components
- Booking user
- UDST sports portal
- Planyo services
Connections 14
- Booking user → Booking CLI: provides booking options
gym.py - Booking CLI → Session login: authenticates
gym.py - Session login → UDST sports portal: fetches token and logs in
gym.py - Booking CLI → Facility discovery: gets facilities
gym.py - Facility discovery → UDST sports portal: queries resources
gym.py - Facility discovery → Planyo services: fetches rental limits
gym.py - Booking CLI → Guest details: loads guest list
gym.py - Guest details → UDST sports portal: fetches guest records
gym.py - Booking CLI → Reservation submission: submits booking
gym.py - Reservation submission → UDST sports portal: posts reservation
gym.py - Booking CLI → Sport categories: checks sport category
gym.py - Booking user → Schedule generator: enters schedule
schedule-make.py - Schedule generator → Generated schedule: writes YAML
schedule-make.py - Generated schedule → Booking CLI: configures booking run
schedule-make.py