Quantcast
Channel: Web services
Viewing all articles
Browse latest Browse all 2366

API for Non-HTML Quiz Attempt Questions

$
0
0
by Rok P.  

Hello,

We're in the process of developing an integration with Moodle to extract Quiz attempt details. Our goal is to leverage this data further, such as creating PDFs containing attempt data for archival purposes.

While we've successfully managed to create users, enroll them in courses, and retrieve lists of attempts, marks, and grades via the API, we're can not obtain machine-readable information about the questions and answers within a quiz. 

Currently, our best find is mod_quiz_get_attempt_review, which unfortunately returns the questions in HTML format for rendering. We'd prefer to avoid parsing HTML, given the complexities and potential inaccuracies. Does anyone know if there's an API function available that returns the structure of questions and answers in a machine-readable format and not html?

Kind Regards, R


Viewing all articles
Browse latest Browse all 2366

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>