DXStudentClient
This class is responsible for making request to the student API.
You will need to enable the "Training" scope for your app in the developer dashboard before using the student API.
Properties
Singleton instance of DXStudentClient
. You will access all the available DXStudentClient
methods through this instance.
Methods
addComment
Adds a comment about a student.
Parameter | Type | Description |
studentId |
| ID of the student to which this comment pertains. |
classId |
| Id of the class to which this comment pertains. |
text |
| Text of the comment. |
lessonId |
| If the comment pertains to a specific lesson, specify it here. |
completion |
| The closure invoked when the request finishes. Called with an |
getComments
Retrieves comments about students based on the query provided.
Parameter | Type | Description |
studentId |
| ID of the student whose comments you would like to retrieve. |
classId |
| ID of the class to retrieve comments for. |
courseId |
| ID of the course to retrieve comments for. |
lessonId |
| ID of the lesson to retrieve comments for. |
completion |
| The closure invoked when the request finishes. Called with an |
Last updated