Generating Student Analysis Reports using APIs (Python)

DesmondGukwe
Community Member

Good day,

 

I'm working on a project to extract data (survey data - student analysis)  from the platform for running and completed courses. 

I've been using this API to get reports that were generated already & then download the report using the file link generated link. I've attached a screenshot

Request URL:
/api/v1/courses/:course_id/quizzes/:quiz_id/reports?include%5B%5D=progress&include%5B%5D=file&includes_all_versions=true.
 
This only works when the report has been generated. 
 
Is there a way to generate the report programmatically using a Post API? Please share if there is any.
The majority of the course student analysis reports haven't been generated. For me to download the files using a script I have to press the generate button manually.
 
Looking forward to your response.
Labels (3)
0 Likes