Documentation
¶
Index ¶
- func ListAcceptedAssignments(client *api.RESTClient, assignmentID int, page int, perPage int) (classroom.AcceptedAssignmentList, error)
- func ListAllAcceptedAssignments(client *api.RESTClient, assignmentID int, perPage int) (classroom.AcceptedAssignmentList, error)
- func NumberOfAcceptedAssignmentsAndPages(client *api.RESTClient, assignmentID int, perPage int) (numPages, totalAccepted int)
- func PromptForAssignment(client *api.RESTClient, classroomId int) (assignment classroom.Assignment, err error)
- func PromptForClassroom(client *api.RESTClient) (classroomId classroom.Classroom, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListAcceptedAssignments ¶ added in v0.1.9
func ListAcceptedAssignments(client *api.RESTClient, assignmentID int, page int, perPage int) (classroom.AcceptedAssignmentList, error)
func ListAllAcceptedAssignments ¶ added in v0.1.9
func ListAllAcceptedAssignments(client *api.RESTClient, assignmentID int, perPage int) (classroom.AcceptedAssignmentList, error)
func NumberOfAcceptedAssignmentsAndPages ¶ added in v0.1.12
func NumberOfAcceptedAssignmentsAndPages(client *api.RESTClient, assignmentID int, perPage int) (numPages, totalAccepted int)
Get the total number of accepted assignments and the number of pages necessary to get them all Calculate the number of pages necessary to get all of the assignments with a given perPage
func PromptForAssignment ¶
func PromptForAssignment(client *api.RESTClient, classroomId int) (assignment classroom.Assignment, err error)
func PromptForClassroom ¶
func PromptForClassroom(client *api.RESTClient) (classroomId classroom.Classroom, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.