Python interface for getting data from different platforms of ZJU International College
Project description
zjuintl_assistant
Features
- Get deadline of assignments from Blackboard
- Get latest grades of assignments from Blackboard
- Get latest announcements from Blackboard
- Get notices from myZJU
- Get information from PeopleSoft. I've not figured out how to do this yet. PRs and disscussions are welcome!
Usage
Install the package from PyPI:
pip install zjuintl-assistant
Then you can use the package in your code:
from zjuintl_assistant import Assistant
assistant = Assistant(username='your_username', password='your_password')
# Get deadlines of assignments
deadlines = assistant.get_deadlines()
# Get 10 latest grades
grades = assistant.get_grades(10)
# Get 10 latest announcements (excluding ones without main content)
announcements = assistant.get_announcements(10)
# Get 10 latest announcements (including ones without main content)
announcements_full = assistant.get_announcements(10, full=True)
# Get 10 latest notices from myZJU (not fetching main content)
notices = assistant.get_notices(10)
# Get 10 latest notices from myZJU (English version and including main content)
notices_en_full = assistant.get_notices(10, EN=True, get_content=True)
For more details, please refer to wiki.
Development Notes
This project is simply a spider that replay the requests of the browser. Login process of zjuam is based on package capture and reverse engineering of javascript code. However, the analysis of PeopleSoft is too difficult for me. So any help is welcome! I think possible difficulty is the management of cookies.
Links
Credits
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for zjuintl_assistant-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2dbedce68851c44f057c3e8ee0f5dedc1ca815886c5914f74df3fd65c7e1e04f |
|
MD5 | 21abc83dd95dfc073f3d9e3ae2d79049 |
|
BLAKE2b-256 | 323860284606eacff97c40632665695a4a19d451cbe1ab8fd4672840a8f17f13 |