View source: R/get_published_courses.R
get_published_courses | R Documentation |
Returns a data.frame with all published courses from a particular domain.
get_published_courses(domain, api_token)
domain |
Domain of 'Skilljar' account |
api_token |
Your personalized token provided by 'Skilljar' |
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!
A data frame with all published course data
See https://api.skilljar.com/docs/ for documentation on the 'Skilljar' API.
## Not run:
# Retrieve all published courses
courses <- get_published_courses(domain = "training.mycompany.com",
api_token = "my-token")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.