Skip to contents

Main Functions

Core functions for fetching course data

fetch_departments()
Fetch department list from Stanford ExploreCourses
fetch_department_courses()
Fetch courses for a specific department
fetch_all_courses()
Fetch and process courses for multiple departments in parallel

Cache Management

Functions for managing the local cache

cache_exists()
Check if cache exists for specific data
read_xml_cache()
Read XML data from cache
clear_cache()
Clear cache for specific data or entirely
list_cache()
List cached files
print(<explorecourses_cache_list>)
Print method for cache list

Internal Functions

Internal helper functions and utilities

generate_academic_year()
Generate academic year string from start year
validate_academic_year()
Validate Stanford academic year format