canvas-api-helper
v1.0.1
Published
Make the Canvas LMS api easy
Downloads
3
Readme
Canvas API
Access the Canvas LMS api easily using Canvas Api
Usage
var Canvas = require('canvas-wrapper')
var canvas = new Canvas({
url: 'https://<canvas-url>/api/v1',
token: '<YOUR-DEV-TOKEN>'
})
GET
canvas.get('accounts/1') // any url
.then(data => {
console.log(data);
})
.catch(err => {
throw err;
})