Skip to content

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.

License

Notifications You must be signed in to change notification settings

UBC-LFS/teaching-assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LFS teaching assignment w/ Go

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.

Installation

  1. Install Go: Download

  2. Create a .env file

academicURL=""
academicEXPURL=""
ClientID=""
ClientSecret=""

How to use

  1. 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
  1. The program will ask you to enter a year

Example:

Enter a year [1996, 2032]: 2023
  1. Open courses.csv to view your data

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages