get_published_courses {skilljaR}R Documentation

Get All Published Courses

Description

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

Usage

get_published_courses(domain, api_token)

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!

Value

A data frame with all published course data

See Also

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

Examples

## Not run: 
# Retrieve all published courses
courses <- get_published_courses(domain = "training.mycompany.com",
api_token = "my-token")

## End(Not run)

[Package skilljaR version 0.1.2 Index]