Skip to main content

郑州大学移动校园的 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

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_json("2024-12-09"))

许可

License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)

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

zzupy-0.2.2.tar.gz (21.9 kB view details)

Uploaded Source

Built Distribution

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

zzupy-0.2.2-py3-none-any.whl (24.4 kB view details)

Uploaded Python 3

File details

Details for the file zzupy-0.2.2.tar.gz.

File metadata

  • Download URL: zzupy-0.2.2.tar.gz
  • Upload date:
  • Size: 21.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

Hashes for zzupy-0.2.2.tar.gz
Algorithm Hash digest
SHA256 a66f1ee9697603f68e07183dd2545522cc75109948b9af5a1e3cb81747beb7ac
MD5 a210d6fec4331f2ea3e5ad17bbd50c74
BLAKE2b-256 735e0d3a8217b9148aa1ae8e15226efa87bed56ca8f90e3163c6a8c6d97b6871

See more details on using hashes here.

File details

Details for the file zzupy-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: zzupy-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 24.4 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

Hashes for zzupy-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ab939e36d1e5c8867b051bb72dfe3d5c7b0b2482c23e99d296c75da1ef7429fa
MD5 a4fb6698cf0a62bd91ee05010fee540a
BLAKE2b-256 0d3c886c33e5d4a731ed22369df3858efaf0518193035b2728e657b09543a1e2

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