Go to file
2025-03-13 11:48:22 -04:00
documentation documentation 2025-03-13 11:48:22 -04:00
.gitignore initial commit 2025-03-12 16:22:45 -04:00
config.ini Rework stuff, make user friend, documentation 2025-03-13 11:19:27 -04:00
README.md documentation 2025-03-13 11:48:22 -04:00
requirements.txt Rework stuff, make user friend, documentation 2025-03-13 11:19:27 -04:00
save_progress_reports.py Rework stuff, make user friend, documentation 2025-03-13 11:19:27 -04:00

Flight Schedule Pro Scripts

Disclaimer

Expect this shit to break at any point. Most likely when you really need it.

Requirement

  • Python 3
  • Pip
  • Firefox

Install

Clone this repository

Navigate to the resulting directory

Create a virtual environment and install dependencies

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Update config.ini with you Flight Schedule Pro tenant ID, username and password

Tenant ID is the ID of the company that the user wishes to log in to This can be found in the login URL [Finding Tenant ID]

Config

TODO (aka figure it out yourself)

Scripts

save_progress_reports.py

Downloads individual session PDFs for students and merges them into a single PDF per student

Usage

# At a minimum the script requires one argument, the name of a student to retrieve sessions for
python save_progress_reports.py "Greg Johnson"

# Also accepts multiple students
python save_progress_reports.py "Greg Johnson" "Casey Serbagi"

# Partial names work as well (retrieves the first student with a matching name)
python save_progress_reports.py Greg

# List students 
python save_progress_reports.py -l

# Output PDF(s) to another directory
python save_progress_reports.py -o /my/shitty/directory Greg

# More usage details
python save_progress_reports.py --help