Package: ums
UMSInteract UMS programmatically using a simple Python Library.
Allows User to View User profile, Annoucement, Messages, Datesheet, grades, marks termwise etc.Do fork and star ⭐ this repository if you like it.ContentsGetting StartedMethods / FunctionsUser ProfileAnnouncementsMessagesGradesMarksClassesDatesheetContributeGetting StartedInstall this package from pypi$ pip install ums
$ python
>>> from ums import User
>>>MethodsSee All User Methods/FunctionsUser ProfileTo get User detailfunction Name :user_profile()This function takes no argumentThis function return aDictionaryObjectdata: user detailName: Name of the User ( dict object )Full Name: Fullname of UserFirst Name: First nameMiddle Name: Middle name ( if available )Last Name: Last Name ( if available )RegNo: Registration Number of userRollno: Roll Number of UserTerm: Current TermGroup: Class GroupSection: Class sectionProgramme: User Programme NameBook Issued: Number of Book user issued from University Librarydatetime: timestamp when data is generatedUsagefromumsimportUserregno=<REGISTRATIONNUMBER>password=<PASSWORD>user=User(registration=regno,password=password)profile=user.user_profile()print(profile)AnnouncementsTo get all recent annoucementsFunction name :announcements()This function takes no argumentThis function returns aDictionaryobjectdata: list of all announcementid: Annoucement Idtitle: Title of the announcementbody: Main body of the annoucementmedia: list of media attached to the announcement ( if any )datatime: timestamp when data is generatedUsagefromumsimportUserregno=<REGISTRATIONNUMBER>password=<PASSWORD>user=User(registration=regno,password=password)announcements=user.annoucements()print(annoucements)MessagesTo get all the recent messagesFunction name :messages()This function takes no argumentThis function return aDictionaryobjectdata: list of all messagesid: Message Idsubject: Subject of messagebody: Main body of the messagedate: date of message when publisheddatetime: timestamp when data is generatedUsagefromumsimportUserregno=<REGISTRATIONNUMBER>password=<PASSWORD>user=User(registration=regno,password=password)messages=user.messages()print(messages)GradesTo get Termwise gradeFunction name :grades()This function takes no argumentThis function return aDictionaryObjectdata: List of Different termterm: term / semester numbertgpa: term / semester tgpagrades: List of grades of all subject of that termcourse: Course namegrade: grade in that coursedatetime: timestamp when data is generatedUsagefromumsimportUserregno=<REGISTRATIONNUMBER>password=<PASSWORD>user=User(registration=regno,password=password)grades=user.grades()print(grades)MarksTo get Termwise MarksFunction name :marks()This function takes no argumentThis functiom return aDictionaryObjectdata: List of different termtermid: term idcourses: list of diffeent courses of that termcourse: Name of the coursemarks: list of different marks of that courset`ype : type of markmarks: list of marks out of different schemedatetime: timestamp when data is generatedUsagefromumsimportUserregno=<REGISTRATIONNUMBER>password=<PASSWORD>user=User(registration=regno,password=password)marks=user.marks()print(marks)ClassesTo get all classes of current DayFunction name :classes()This function takes no argumentThis function return aDictionaryObjectdata: List of different Coursescourse: Course nametiming: class timingplatform: Class platformstatus: current class status of that coursedatetime: timestamp when data is generatedUsagefromumsimportUserregno=<REGISTRATIONNUMBER>password=<PASSWORD>user=User(registration=regno,password=password)classes=user.classes()print(classes)DatesheetTo get Upcoming Exam Sheet ( if available )Function name :datesheet()This function takes no argumentThis function return aDictionaryObjectdata: List of different coursesid: Idc_code: Course Codecourse: Course namereport: Reporting timingdate: Exam datetiming: Exam timingdatetime: timestamp when data is generatedUsagefromumsimportUserregno=<REGISTRATIONNUMBER>password=<PASSWORD>user=User(registration=regno,password=password)datesheet=user.datesheet()print(datesheet)ContributeThis Project is open for contibution, feel free to contibute new feature, requests and bug fixesTo contibute fork this repositoryBug fix / new feature / Optimization :Create a new branchMakes changes to that branch, create a new Pull request and describe your fixes or addition of new featureFeature request :Create a new Issue with tagnew featureand describe your feature you want in upcoming versionMade with 💜 in India