A small package to help authenticate and use dulms api
Project description
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.login("https://dulms.deltauniv.edu.eg")
auth.auth("USERNAME", "PASSWORD")
get user data
auth = delta_auth.login("https://dulms.deltauniv.edu.eg")
auth.auth("USERNAME", "PASSWORD")
data = auth.get_user_data()
print(data)
get assginments
auth = delta_auth.Auth('https://dulms.deltauniv.edu.eg')
auth.auth("USERNAME", "PASSWORD")
data = auth.get_assignments()
print(data)
get quizzes
auth = Auth('https://dulms.deltauniv.edu.eg')
auth.auth("USERNAME", "PASSWORD")
data = auth.get_quizzes()
print(data)
using the coockies for other uses
auth = Auth('https://dulms.deltauniv.edu.eg')
auth.auth("USERNAME", "PASSWORD")
cookies = auth.get_cookies()
print(coockies['Id'])
the coockies are stored in a dict with the following keys
- Id
- ASP.NET_SessionId
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
delta_sdk-0.0.13.tar.gz
(16.0 kB
view hashes)
Built Distribution
delta_sdk-0.0.13-py3-none-any.whl
(14.8 kB
view hashes)
Close
Hashes for delta_sdk-0.0.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 212608cdb87e992ea3e7d7adf3b3edf921fdf17eb8a78615cd999bc751db98d2 |
|
MD5 | e4a156c75fa9335b6e09998721a69164 |
|
BLAKE2b-256 | b757ecbcad26c2110d896ed3dda1ab66d46ced06d146e9690bcdabe69c99b1a6 |