0.3.0 • Published 1 year ago

@artevelde-uas/canvas-lms-api v0.3.0

Weekly downloads
1
License
ISC
Repository
github
Last release
1 year ago

API client for the Canvas LMS

npm.io npm.io npm.io npm.io

A browser side API client for the Canvas LMS from Instructure.

Installation

Using NPM:

npm install @artevelde-uas/canvas-lms-api

Using Yarn:

yarn add @artevelde-uas/canvas-lms-api

Usage

Example for getting the current user:

import canvasApi from '@artevelde-uas/canvas-lms-api';

canvasApi.get('/users/self').then(user => {
    // do something with the user object
});

API

get(path[, queryParams])

post(path[, data[, queryParams]])

put(path[, data[, queryParams]])

del(path[, queryParams])