Learn R Programming

vvtermtime (version 0.1.0)

get_courses: Retrieve course data from the Semestry API

Description

This function sends a GET request to the courses endpoint of the Semestry API and retrieves the course data.

Usage

get_courses(semestry, timeout = 30)

Value

The retrieved course data from the API.

Arguments

semestry

An authenticated Semestry object.

timeout

The timeout duration for the GET request (default: 30 seconds).

Examples

Run this code
if (FALSE) {
  semestry <- authenticate_semestry()
  get_courses(semestry)
}

Run the code above in your browser using DataLab