edu.ksu.canvas.interfaces.QuizQuestionReader Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of canvas-api Show documentation
Show all versions of canvas-api Show documentation
A native Java library to talk to the Canvas REST API
package edu.ksu.canvas.interfaces;
import java.io.IOException;
import java.util.List;
import edu.ksu.canvas.model.assignment.QuizQuestion;
import edu.ksu.canvas.requestOptions.GetQuizQuestionsOptions;
public interface QuizQuestionReader extends CanvasReader {
/**
* Retrieve a list of quiz questions from Canvas by its course and quiz Canvas ID numbers
* @param options The API options associated with this request
* @return List of quizzes questions in the course with the course ID
* @throws IOException When there is an error communicating with Canvas
*/
List getQuizQuestions(GetQuizQuestionsOptions options) throws IOException;
}