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
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.12.tar.gz
(15.9 kB
view hashes)
Built Distribution
delta_sdk-0.0.12-py3-none-any.whl
(14.7 kB
view hashes)
Close
Hashes for delta_sdk-0.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7964f5b99aebb831f31223d71056ce11d8968362decbd942f86b9a1033fb539b |
|
MD5 | 3c8df569669fd0ce016c380ee5759123 |
|
BLAKE2b-256 | 032cbc7948c5bd2fe19134e1883971650f59b0c0dd7b05e2d2d1f7ba6db8fbc6 |