利昂图书馆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 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
File details
Details for the file leolib-1.1.0.tar.gz.
File metadata
- Download URL: leolib-1.1.0.tar.gz
- Upload date:
- Size: 3.9 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 |
9dec2926145d5024de17a21035f7b344b1c1560a01796bfcdb9e235c0b0ccb75
|
|
| MD5 |
ec0bdce3afcbb7ae3fa68940e794c28f
|
|
| BLAKE2b-256 |
1e4aa84d5eb26dcb31a03fb805eba601f74ac60209629147a8e6eb475c743e08
|
File details
Details for the file leolib-1.1.0-py3-none-any.whl.
File metadata
- Download URL: leolib-1.1.0-py3-none-any.whl
- Upload date:
- Size: 5.2 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 |
86f06310a1042a2dc2736ee425e26c2166445e7d49dc8984e1fd2cc0fd4240e5
|
|
| MD5 |
b7af04636b8abf2e3380c280449634f0
|
|
| BLAKE2b-256 |
e0ee7603bdc5bbf89e0915b2c3f2dc53f13297b4c9459aaad5766c93da9f3d8c
|