The script compiles a CSV file containing course details, instructor names, and their email addresses. When a specific term or session is chosen, the script retrieves the courses and the corresponding instructors with their email addresses for that selected term or session.
-
Install Go: Download
-
Create a .env file
academicURL=""
academicEXPURL=""
ClientID=""
ClientSecret=""
- Run the program using
go run main.go
OR build an executable
// to run the code
go run main.go
// to build an executable
go build <`go.mod` module name> // e.g. go build teaching-assignment
- The program will ask you to enter a year
Example:
Enter a year [1996, 2032]: 2023
- Open courses.csv to view your data