Need steps to integrate Canvas API into my website

95 views
Skip to first unread message

sweth...@gmail.com

unread,
Apr 1, 2014, 7:27:34 PM4/1/14
to canvas-l...@googlegroups.com
I am currently working on a project that would help students take in-class quizzes, exam through my application. I would like to integrate canvas API into this website for storing and retrieving grades (also some other features).

To get started, I went through the Canvas API documentation at https://canvas.instructure.com/doc/api . 
I understand that the workflow is as follows:

1. Install Canvas in the server
2. Get an OAuth token
3. Follow the Web Application Workflow in the API doc which is:
    a) Redirect users to request Canvas access
    b) Redirect back to the request_uri, or out-of-band redirect
    c) Exchange the code for the final access token
    d) Logout to delete the token and end the Auth handshake

Is the workflow right or am I missing something? Could you please point me to resources as to how I can store the grades of students in canvas through  the API?

Kindly help me with the workflow and some web resources to accomplish this task. 

Thank you

Brad Humphrey

unread,
Apr 2, 2014, 12:08:24 PM4/2/14
to canvas-l...@googlegroups.com
Yeah, your workflow is correct.  Once you have an access token after 3.c you can use it to make API calls.  If you want to submit assignments you can use the submissions API (https://canvas.instructure.com/doc/api/submissions.html#method.submissions.create).  http://instructure.github.io/ is a good resource for more information on developing integrations for canvas.

Another option for launching an external app as a canvas assignment is to use LTI.  LTI is a standard that (among other things) defines SSO communication from canvas to 3rd party tools and defines how to communicate homework submissions back to canvas.  http://instructure.github.io/ also contains some good information on how to develop and use LTI tools.


       


--

---
You received this message because you are subscribed to the Google Groups "Canvas LMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to canvas-lms-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages