rgpvApi package
Submodules
rgpvApi.info_api module
- class rgpvApi.info_api.info[source]
Bases:
object
This Class have Information About the Package
- static clgId()[source]
This Function have College Ids for Different College which are Affiliated to RGPV
- Returns:
- json: Returns the College Id in following format
- {
COLLEGE_NAME: COLLEGE_ID
}
rgpvApi.result_api module
- class rgpvApi.result_api.result(enrollId: str, courseId: int)[source]
Bases:
object
This Class Contains Three Important Functions for fetching different Examination Results.
- Args:
enrollId (string): 12 Character Enrollment Number of Student courseId (int): Course Id of the Course in which Student admitted to, which can be fetched by rgpvApi.info_api.info.courseId()
- getChlng(sem: int)[source]
This Function Fetches the Challenge Examination Result.
- Args:
sem (int): Semester for which Examination Result needed
- Returns:
- json: Returns the Examination Result in following format
-
{
“enrollId”: ENROLLMENT_NUMBER,
“name”: NAME_OF_STUDENT,
“subjects”: [{“subjectCode”: SUBJECT_CODE,
“subjectName”: SUBJECT_NAME,
“status”: PASSING_STATUS_(NO_CHANGE/CHANGE),
“newGrade”: NEW_GRADE_(IF_CHANGE)-
}, {
“subjectCode”: SUBJECT_CODE,
“subjectName”: SUBJECT_NAME,
“status”: PASSING_STATUS_(NO_CHANGE/CHANGE),
“newGrade”: NEW_GRADE_(IF_CHANGE)
}]
}
- getMain(sem: int)[source]
This Function Fetches the Main Semester Examination Result.
- Args:
sem (int): Semester for which Examination Result needed
- Returns:
- json: Returns the Examination Result in following format
-
{
“enrollId”: ENROLLMENT_NUMBER,
“name”: NAME_OF_STUDENT,
“status”: STATUS_OF_RESULT_(PASS/FAIL/PASS_WITH_GRACE),
“sgpa”: SGPA,
“cgpa”: CGPA,
“resType”: RESULT_TYPE(REGULAR/EX),
“subjects”: [{“subject”: “CS304- [T]”,
“grade”: “B”-
}, {
“subject”: “CS304- [P]”,
“grade”: “B+”
}]
}
- getReval(sem: int)[source]
This Function Fetches the Revaluation Examination Result.
- Args:
sem (int): Semester for which Examination Result needed
- Returns:
- json: Returns the Examination Result in following format
-
{
“enrollId”: ENROLLMENT_NUMBER,
“name”: NAME_OF_STUDENT,
“subjects”: [{“subjectCode”: SUBJECT_CODE,
“subjectName”: SUBJECT_NAME,
“status”: PASSING_STATUS_(NO_CHANGE/CHANGE),
“newGrade”: NEW_GRADE_(IF_CHANGE)-
}, {
“subjectCode”: SUBJECT_CODE,
“subjectName”: SUBJECT_NAME,
“status”: PASSING_STATUS_(NO_CHANGE/CHANGE),
“newGrade”: NEW_GRADE_(IF_CHANGE)
}]
}