利昂图书馆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.0.6.tar.gz
(3.8 kB
view details)
Built Distribution
File details
Details for the file leolib-1.0.6.tar.gz
.
File metadata
- Download URL: leolib-1.0.6.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 102dfdd44123d998d33e4cfdb4eb920d9f40935513e8d8fccb210531a88121a5 |
|
MD5 | da64cc1aca3dfad464128d5d0dbf4c8a |
|
BLAKE2b-256 | 42d2f6c3ec2094c433daa604098c2c625e89f19faf58dd525d41d6f3451f1b09 |
File details
Details for the file leolib-1.0.6-py3-none-any.whl
.
File metadata
- Download URL: leolib-1.0.6-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 189fbfc473dbb75735f685119aa6f90b1784ad4f74a52a6cd85bcc3e7e412660 |
|
MD5 | cbe67d443461532e6d42173276237677 |
|
BLAKE2b-256 | b9a9786cf3cf1e3a8348b61e0ee88309e53684b212a2dd04edecc0a0b749245f |