This function sends a GET request to the offers endpoint of the Semestry API and retrieves the offers.

get_offers(semestry, timeout = 30)

Arguments

semestry

An authenticated Semestry object.

timeout

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

Value

The retrieved offers from the API.

Examples

if (FALSE) {
  semestry <- authenticate_semestry()
  get_offers(semestry)
}