北邮统一登录网关 API
Project description
BUPT Session
北邮统一登录网关 Session。用于需要登录的网络请求。
Usage
from bupt_session_py import Session
session = Session()
try:
session.login('2022114514', 'yjsp1919810')
# 进行一些北邮服务的网络请求
# 这里以查询电费服务为例子
# (More detail: https://github.com/jerrymakesjelly/electricity-monitor)
session.post('https://app.bupt.edu.cn/buptdf/wap/default/chong', allow_redirects=False)
session.post('other url')
# ...
except Exception as e:
print(e)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bupt_session-0.1.0.tar.gz
(4.0 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 bupt_session-0.1.0.tar.gz.
File metadata
- Download URL: bupt_session-0.1.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a300517651d006f7a51d2859877ceb7e17628fbde7e454939993456d734093d0
|
|
| MD5 |
73042be1bac2c524645583542adfe64c
|
|
| BLAKE2b-256 |
5b2dab03b0ee0a81c93279712fbef1504822bd0d7422ddb99381cc9af8465346
|
File details
Details for the file bupt_session-0.1.0-py3-none-any.whl.
File metadata
- Download URL: bupt_session-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84265c90dc6f42eb41f66c597cfc0290150a792b9ae2f3471dff7c3240f8e75a
|
|
| MD5 |
ed2ebbd2a46d55f21bfcb825624a2557
|
|
| BLAKE2b-256 |
a21c802d71c47ac64da1e5b9a6120c25688abbf191649be61c4488771661dabf
|