Skip to content

郑州大学移动校园的 Python API 封装 / An API wrapper for Zhengzhou University Mobile Campus written in Python

License

Notifications You must be signed in to change notification settings

Illustar0/ZZU.Py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZZU.Py

郑州大学移动校园的 Python API 封装

安装

pip install zzupy --upgrade

Done & To Do

  • Supwisdom
    • 获取课表
  • Network
    • 校园网认证
      • 校园网
      • 移动宽带
    • 获取在线设备数据
    • 获取消耗流量
    • 获取使用时长
    • 注销设备
  • eCard
    • 充值电费
    • 获取校园卡余额
    • 获取剩余电费

前往 ZZU.Py Completion Plan 查看 To Do

文档

文档

Note

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

About

郑州大学移动校园的 Python API 封装 / An API wrapper for Zhengzhou University Mobile Campus written in Python

Topics

Resources

License

Stars

Watchers

Forks

Languages