Skip to content

HqNw/dulms_sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DULMS SDK

this package is a simple non official SDK for DULMS

this package is still in development and the responses are pure from the server without any sanitization

installation

pip install delta-sdk

usage

importing

from delta_sdk import delta_auth

login

auth = delta_auth.Auth("https://dulms.deltauniv.edu.eg")
auth.login("USERNAME", "PASSWORD")

get user data

auth = delta_auth.Auth("https://dulms.deltauniv.edu.eg")
auth.login("USERNAME", "PASSWORD")

data = auth.get_user_data()
print(data)

get assginments

auth = delta_auth.Auth('https://dulms.deltauniv.edu.eg')
auth.login("USERNAME", "PASSWORD")

data = auth.get_assignments()
print(data)

get quizzes

auth = Auth('https://dulms.deltauniv.edu.eg')
auth.login("USERNAME", "PASSWORD")

data = auth.get_quizzes()
print(data)

using the coockies for other uses

auth = Auth('https://dulms.deltauniv.edu.eg')
auth.login("USERNAME", "PASSWORD")

cookies = auth.get_cookies()
print(coockies['Id'])

the coockies are stored in a dict with the following keys
 - Id
 - ASP.NET_SessionId

About

this is an sdk for use with dulms portal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages