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.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
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.14.tar.gz
(16.0 kB
view hashes)
Built Distribution
delta_sdk-0.0.14-py3-none-any.whl
(14.8 kB
view hashes)
Close
Hashes for delta_sdk-0.0.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4da0495cfe3a1973f83470a62042c4d12d42f240b7cada4c103acf2dd7a248a6 |
|
MD5 | 13e266bd3a9399d6b4faeefe46e51d14 |
|
BLAKE2b-256 | e093b20750d0c8fbab9f8746f4f61ef655308a61a8c153eff10c02bbd8a07734 |