Learn R Programming

skilljaR (version 0.1.2)

get_published_courses: Get All Published Courses

Description

Returns a data.frame with all published courses from a particular domain.

Usage

get_published_courses(domain, api_token)

Value

A data frame with all published course data

Arguments

domain

Domain of 'Skilljar' account

api_token

Your personalized token provided by 'Skilljar'

Details

Utilizing the API requires a token. This must be obtained by logging in at dashboard.skilljar.com and going to Organization -> API Credentials. There are different strategies for storing api tokens securely. It is an unnecessary risk to store the token in the script!

See Also

See https://api.skilljar.com/docs/ for documentation on the 'Skilljar' API.

Examples

Run this code
if (FALSE) {
# Retrieve all published courses
courses <- get_published_courses(domain = "training.mycompany.com",
api_token = "my-token")
}

Run the code above in your browser using DataLab