Roy Benson

Canvas API - Alexa Skills / AWS?

Discussion created by Roy Benson on Mar 15, 2019
Latest reply on Oct 8, 2019 by Zachary Blumstein



I am hoping to teach my students how to develop an Amazon Alexa skill, and for their assessment I would like to them to be able to query their view of Canvas via the Echo or Alexa Device Simulator

I am still getting to grips with Alexa Skills Development (and the Canvas API), but would like to set up a practice skill with access to the Canvas API, which can then be queried

At the moment, I am struggling to find a simple example, which I can paste into the Lambda / Node.js AWS Console, that will allow me to connect to the Canvas API, query (say, assigned courses), extract the results from the JSON return, so that I can then pass it to on to the Alexa helper functions (for display within the Alexa Device simulator)

Is there anyone who might be able to point me in the right direction, or better still have some sample code for the above (that would act a a starting point for further tinkering)


Thanks in advance