TeachMePlayerAPI Quiz Functions | |
---|---|
TeachMePlayerAPI.startQuizByCourseId(courseId)
|
Start a specific quiz based on its related course. |
TeachMePlayerAPI.startQuizByQuizId(quizId):
|
Start a specific quiz based on its quiz id. |
TeachMePlayerAPI.getQuizzes()
|
Returns an object of Quiz Objects |
// Example Quiz Object
{
3561: {
CompletionStatus: 1,
CourseId: 1121269,
Id: 3561,
IsEnabled: true,
Passmark: 100,
Questions: [{...}],
Settings: {
isLImited: undfeind,
isQuizResults: "1",
randAnswers: undefined,
randQuestions: undefined
}
}