Description Usage Arguments Examples
These functinos set your Canvas API token, as well as the Canvas base URL.
These functions are necessary for rcanvas
to run.
1 2 3 4 5 | set_canvas_token(token)
set_canvas_domain(domain)
check_token()
|
token |
your API token |
domain |
Canvas domain |
1 2 | set_canvas_token("abc123")
set_canvas_domain("https://canvas.upenn.edu")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.