Skip to main content

利昂图书馆api打包

Project description

LEOLIB 利昂图书馆座位预约系统API

如何导入

from leolib import User, get_day, get_time

如何使用

 from leolib import User, get_day, get_time


 # 用户对象
 user = User("username", "password", "zw.example.edu.cn")
 # 查看用户信息
 print(user.get_user_info())
 # 获取预约信息
 print(user.get_history())
 # 查看房间布局
 print(user.get_room_status(13, get_date()))
 # 查询座位情况
 print(user.search_seat(start_time=get_time(), end_time=get_time("19:00")))

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

leolib-1.1.0.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

leolib-1.1.0-py3-none-any.whl (5.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page