Skip to contents

Queries

Functions for querying the Canvas LMS API

cnvs()
Query the Canvas LMS API
cnvs_upload()
Upload files to Canvas

Credentials

cnvs_whoami()
Info on current Canvas user, domain and token
cnvs_token() cnvs_token_exists() cnvs_domain()
Return the local user's Canvas token and domain

Pagination

cnvs_next() cnvs_prev() cnvs_first() cnvs_last()
Get the next, previous, first or last page of results

Utilities

print(<cnvs_response>)
Print the result of a Canvas API call