fabiocunha
Community Participant
Activity Feed
My Posts
Post Details Date Published Views Kudos

How can I find term id for a course programatically or via Web Interface?

I run a script that I created in Python and I use the term_id fo filter some of my results. I want to know if is it possible to find the respective term id for a course using the course id? The a...

08-15-2021

378

0

Can't create questions using Python API in Production Canvas

I use this python library pip install canvasapi I am successfully created a new quiz via a Python API I use the following code to create questions for a quiz (that's online part of a bigger code...

06-02-2021

453

0

In a quiz with multiple answers, how to get a student answer based in position of the question?

The title of the question may be confuse, but I will try to explain. Please, check the image below:         Canvas will save the answer in the database and I kno...

10-28-2020

577

0

Add an action button to the Grade page

I'd like to create an action button in the top part of the "Grade" page. Is it possible to add an action button on the top of the page using a resource from Canvas? This button will communicate wit...

08-10-2020

1395

0

How get all answers from a quiz using the API

I use the endpoint below to get all submissions from a specific course https://myconpany.instructure.com/api/v1/courses/:course_id/quizzes/:quiz_id/submissions  For each answer, I have ...

06-04-2020

11255

3

How to get user_id for each student in the quiz report generated by API?

I use the following url to create a quiz report https://mycompany.com/api/v1/courses/:course_id/quizzes/:quiz_id/reports?quiz_report[report_type]=student_analysis&quiz_report[includes_all_versio...

05-29-2020

601

0

How to get a history of all reports of a quiz

Hi, I have a quiz that allows students to write their answers on it. Now, I want to get all those answers using the API. I generate a report using the command below: print ( "curso:&...

05-22-2020

648

0

How to change quiz attributes via API

Hi, I want to know if is it possible to change some attributes inside a quiz. In this case, for example, I want to mark the checkbox "Manter os envios anônimos", it must be equivalent to "Keep su...

05-07-2020

585

0

Filter Course navigation view per teacher when creating a new app

I create a new app now and I use the following XML to create it. <?xml version="1.0" encoding="UTF-8"?> <cartridge_basiclti_link xmlns="http://www.imsglobal.org/xsd/imslticc_v1p0" xmln...

03-28-2020

548

0

How to get the url of the report using the API

Hi everybody, I was trying to get the url of a file to be able to read the contents of the file using the following API endpoint https://myeducationcompany.instructure.com/api/v1/courses/5468/qui...

10-23-2019

782

1

How to deal with pagination in Canvas using PHP

I was trying to use pagination in my requests, I just try to show the Header that contains the "Link" values. I use Guzzle with PHP $res_aluno_pag = $client->request('GET', 'courses/'.$course...

08-12-2019

2082

1

How to use OAuth to get access to the Rest API?

I recently created a PHP page that accesses the Rest API from Canvas for my institution. It works perfectly, but the token that I use is created by "Manual Token Generation", this is for test...

07-11-2019

3115

1

Assignment API returns an empty list even if the gradebook shows assignments

I use the following API endpoint to get all assignments for a course api/v1/courses/:course_id/assignments It returns an empty list for me, but when I access the grade book from Canvas UI, I get ...

04-24-2019

623

0

How to show courses using enrollment term id via API

I use the endpoint below to get all enrollment_terms /api/v1/accounts/:account_id/terms Is it possible to show all courses based in an enrollment_term id? Regards, Fabio

04-23-2019

902

0

View All Posts
Group Hubs for fabiocunha
Community Statistics
Posts 25
Solutions 4
Kudos given 4
Kudos received 12
Member Since ‎04-15-2019