[ARCHIVED] Ruby Programming Assistance

Jump to solution
talway
Community Contributor

I am in need of some programming help.  I am just learning to use Ruby and thought that after watching the course provided on the Learn.Canvas.Net site, I was ready to go.  I took one of the programs and started to modify it in order to make it fit my needs.  However, when the program runs, it errors out.  I am trying to perform the following API query https://yoursitehere.com/api/v1/courses/[somenumber]/quizzes/[somenumber]/submissions?include[]=user and put the results into a CSV file.  I need to pick up the id, quiz_id, user_id and workflow_state variables.  Can someone please look at my attached files and see where I may be in error?  Any help or guidance would be greatly appreciated.

Thank you,

Tom Alway

Labels (2)
1 Solution
robotcars
Community Champion

You have an extra character in there.

bad period here data.[

try this data[

View solution in original post