利昂图书馆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.3.tar.gz
(3.3 kB
view details)
Built Distribution
File details
Details for the file leolib-1.0.3.tar.gz
.
File metadata
- Download URL: leolib-1.0.3.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.5.0.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 695dd6dcbc4890b12220b245fafb5e06331b627fed22fa7e841502be092272c5 |
|
MD5 | c389ea4ba31420b689425d922330aa2c |
|
BLAKE2b-256 | 407e5488e050dfc0b8bef7eef047e01d011d800ec81e29179e7dd3f3c72e4794 |
File details
Details for the file leolib-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: leolib-1.0.3-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.5.0.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71d9d03fb4dc2350c997f77d6eea21a6ce8b49cd028c7d99c0bd8d85fe0b19a9 |
|
MD5 | 485e66e4b292ae2e653fe28f53bdfc9d |
|
BLAKE2b-256 | 6567affa5f40240eaf47957b94625d41ff19b4ae120560710064fa408d35de61 |