Math4Team/RIT/Projects/Question Support API/API Design: Difference between revisions
add info about planned URL parameters |
Add information about the response reporting as an interface to the reporting team. |
||
| Line 35: | Line 35: | ||
;Question.answer | ;Question.answer | ||
:Returns the answer the student has currently selected, or None if no answer has been entered. | :Returns the answer the student has currently selected, or None if no answer has been entered. | ||
;quizdata.write_responses(questions, file_object, objective=None) | |||
:Writes to file_object the CSV formatted information about the list of questions passed. The CSV is formatted as follows: macaddress, nickname, learning_objective, correctness. The macaddress field is to be only 12 hexadecimal digits, normalized to lower-case. The learning_objective field can be supplied for all questions, or the write_responses function will simply leave the column blank if not supplied. | |||
===URL Design=== | ===URL Design=== | ||