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.0.6.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

leolib-1.0.6-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

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

Hashes for leolib-1.0.6.tar.gz
Algorithm Hash digest
SHA256 102dfdd44123d998d33e4cfdb4eb920d9f40935513e8d8fccb210531a88121a5
MD5 da64cc1aca3dfad464128d5d0dbf4c8a
BLAKE2b-256 42d2f6c3ec2094c433daa604098c2c625e89f19faf58dd525d41d6f3451f1b09

See more details on using hashes here.

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

Hashes for leolib-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 189fbfc473dbb75735f685119aa6f90b1784ad4f74a52a6cd85bcc3e7e412660
MD5 cbe67d443461532e6d42173276237677
BLAKE2b-256 b9a9786cf3cf1e3a8348b61e0ee88309e53684b212a2dd04edecc0a0b749245f

See more details on using hashes here.

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