documentation

This commit is contained in:
gregory 2025-03-13 12:15:45 -04:00
parent 6268f2c908
commit 5391e2d745

View File

@ -4,7 +4,7 @@
Expect this shit to break at any point. Most likely when you really need it. Expect this shit to break at any point. Most likely when you really need it.
## Requirement ## Requirements
- Python 3 - Python 3
- Pip - Pip
- Firefox - Firefox
@ -22,11 +22,11 @@ source .venv/bin/activate
pip install -r requirements.txt pip install -r requirements.txt
``` ```
Update config.ini with you Flight Schedule Pro tenant ID, username and password Update config.ini with your Flight Schedule Pro tenant ID, username, and password
Tenant ID is the ID of the company that the user wishes to log in to Tenant ID is the ID of the company that the user wishes to log in to
This can be found in the login URL This can be found in the login URL
[![Finding Tenant ID](/documentation/tenant_id.png "Tentant ID")] [Finding Tenant ID](/documentation/tenant_id.png "Tenant ID")
## Config ## Config
@ -45,7 +45,7 @@ Downloads individual session PDFs for students and merges them into a single PDF
# At a minimum the script requires one argument, the name of a student to retrieve sessions for # At a minimum the script requires one argument, the name of a student to retrieve sessions for
python save_progress_reports.py "Greg Johnson" python save_progress_reports.py "Greg Johnson"
# Also accepts multiple students # Also accepts multiple students (one PDF generated per student)
python save_progress_reports.py "Greg Johnson" "Casey Serbagi" python save_progress_reports.py "Greg Johnson" "Casey Serbagi"
# Partial names work as well (retrieves the first student with a matching name) # Partial names work as well (retrieves the first student with a matching name)