Skip to main content

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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

delta_sdk-0.0.14-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file delta_sdk-0.0.14.tar.gz.

File metadata

  • Download URL: delta_sdk-0.0.14.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for delta_sdk-0.0.14.tar.gz
Algorithm Hash digest
SHA256 43e64b2ef8b21c66c6e51d3076d31cbfda191e957d584165a3d78f9424b442e4
MD5 0bc6ba67bbe69ca3bb1cd2acbd937e0b
BLAKE2b-256 a399ca826a49d78eb78747a2beb89652086f977343e03348776522bf212e66c1

See more details on using hashes here.

File details

Details for the file delta_sdk-0.0.14-py3-none-any.whl.

File metadata

  • Download URL: delta_sdk-0.0.14-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for delta_sdk-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 4da0495cfe3a1973f83470a62042c4d12d42f240b7cada4c103acf2dd7a248a6
MD5 13e266bd3a9399d6b4faeefe46e51d14
BLAKE2b-256 e093b20750d0c8fbab9f8746f4f61ef655308a61a8c153eff10c02bbd8a07734

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page