This project is not covered by Drupal’s security advisory policy.

7.x-1.x
This is a simple module that helps implement the Canvas LMS API where it makes sense. Right now this provides:

  • A js function that will automatically resize the parent window if Drupal is iframed into Canvas LMS

This is not for LTI integration, if you are looking for that, check out https://drupal.org/project/lti_tool_provider . If your looking for something more future looking that utilizes both of these, check out https://www.elmsln.org/

Thanks to Tim Bracken for writing the snippet this is based off.

7.x-2.x
The 7.x-2.x branch is a backport of the 8.x-1.x branch and provides a single function, canvas_api(), that can be used to interface with Instructure's Canvas API set.

8.x-1.x
The 8.x-1.x branch of the Canvas API module provides classes to interact with Instructure's Canvas API set. For example, if you wanted to update a user's Canvas email based on a change in the Student Information System, this api would allow you to do that programmatically.

2.x
This branch pares down the module, so that rather than trying to build wrapper classes for all of Canvas' APIs, it instead takes in an HTTP method, a path, and parameters. So if, for example, you wanted to get all of the users in ART 101 (where the SIS ID is 3456), you could do to the following:

$users = \Drupal::service('canvas_api')->setMethod('GET')
    ->setPath('courses/sis_course_id:3456/users')
    ->request()

Also includes a tester page for testing API calls.

Supporting organizations: 
Developed, Implemented

Project information

Releases