API Methods

Login
login
Post
group
Request
group
student
timetable
search

Lab Remote Services

Student

For a student request we need a valid authentication (user id and session key), the course name and a student id.

API call:
/student/“course”/“user_id”/“student_id”/"signature"
Where signature is a md5 hash obtained from:
"studentcourseuser_idstudent_idsignature"

Response
status : query's status is either success or failed.
name : student's name.
id : student's unique id.
group : student's middleware group.
avatar : a link to the student's avatar.
attendances : a JSON list of attendances.
Each attendance contains the grades for the corresponding week.

Sample

 {
   "status" : "success",
   "name" : "BOJIN Andrei Florian ", 
   "avatar" : "http://cs09.curs.pub.ro/user/pix.php/748/f1.jpg", 
   "virtual_group" : "312CCa", "id" : 25,
   "attendances" : {"0" : {"grade": 0, "grades": [0]}, 
                    "1" : {"grade": 5, "grades": [2, 3]}},
                    "2" : {"grade": 11, "grades": [5, 6]}},
}