郑州大学移动校园的 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"))
me.Network.login()
print(me.Network.get_online_devices())
许可
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-1.0.1.tar.gz
(11.5 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-1.0.1-py3-none-any.whl
(14.8 kB
view details)
File details
Details for the file zzupy-1.0.1.tar.gz.
File metadata
- Download URL: zzupy-1.0.1.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.12.3 Linux/6.8.0-1020-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ef9065178876b660b8c1ea739f9e5957bad9d1fd1d454fa18f84f77c4461c8b
|
|
| MD5 |
8bbcbf51cf96be04ef1736df76013719
|
|
| BLAKE2b-256 |
a423fdac839a63afb3fb343cbb38f121c27f909f0b5a8d2bd0f21add4ab10b52
|
File details
Details for the file zzupy-1.0.1-py3-none-any.whl.
File metadata
- Download URL: zzupy-1.0.1-py3-none-any.whl
- Upload date:
- Size: 14.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.12.3 Linux/6.8.0-1020-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b5b891208915722ded6891c091f5d7ea36dd4eeea2167a05d7bdd107e052419
|
|
| MD5 |
68835058dc9611e82158533ea4542fea
|
|
| BLAKE2b-256 |
420e7b1b12fd000765c49859e1dd3d4868e6d23d9cbd80cf6daef33657d078c9
|