郑州大学移动校园的 Python API 封装 / An API wrapper for Zhengzhou University Mobile Campus written in Python.
Project description
ZZU.Py
郑州大学移动校园的 Python API 封装
安装
pip install zzupy --upgrade
Done & To Do
- Supwisdom
- 获取课表
- Network
- 校园网认证
- eCard
- 充值电费
- 获取校园卡余额
- 获取剩余电费
前往 ZZU.Py Completion Plan 查看 To Do
文档
Note
Example
from zzupy import ZZUPy
me = ZZUPy("usercode","password")
info = me.login()
print(f"{info[0]} {info[1]} 登录成功")
print("校园卡余额:", str(me.eCard.get_balance()))
print("剩余电费:", str(me.eCard.get_remaining_power("roomid")))
print("课表JSON:", me.Supwisdom.get_courses("2024-12-09"))
许可
License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
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
zzupy-0.2.4.tar.gz
(22.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
zzupy-0.2.4-py3-none-any.whl
(25.8 kB
view details)
File details
Details for the file zzupy-0.2.4.tar.gz.
File metadata
- Download URL: zzupy-0.2.4.tar.gz
- Upload date:
- Size: 22.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.12.8 Linux/6.8.0-1017-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9443dfb5cc2a8121ebf57f4b3bf4aade09b5d4700715a85c64022712f66f07b2
|
|
| MD5 |
3ef062e40508adbab3bfbeab05e95ae0
|
|
| BLAKE2b-256 |
3dfd4dba0d7bb5bf9d3c9861040055576ac3608463de156630eb69feed6a0912
|
File details
Details for the file zzupy-0.2.4-py3-none-any.whl.
File metadata
- Download URL: zzupy-0.2.4-py3-none-any.whl
- Upload date:
- Size: 25.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.12.8 Linux/6.8.0-1017-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
573ce0458d423a8e95ce36f6605dd23f3884a424fe06651b245fa148bb62dec3
|
|
| MD5 |
1be90f6c7b96fcecb604040405c0ea78
|
|
| BLAKE2b-256 |
a5986a46c1a8a88198774ada9f65a731fb0d519d7980ec581bc76c21639c2842
|