用于hse ruz api的python包装器
hse-ruz的Python项目详细描述
用于hse ruz api的python包装器。
2.1.0下的版本由于hse ruz api架构更改而贬值。
要求
- python>;=3.5或最新的pypy3
安装
pip install -U hse_ruz
用法
importruzschedule=ruz.person_lessons("mymail@edu.hse.ru")
模块配置执行抛出设置环境变量:
hse-ruz-u启用详细日志记录-启用详细日志记录(@log)
hse-ruz-api-url-ruz-api的url,可能值(并非2、3支持的所有端点):
- http://92.242.58.221/ruzservice.svc - default
- http://92.242.58.221/ruzservice.svc/v2
- https://www.hse.ru/api
联机检查电子邮件-启用联机电子邮件验证(抛出API调用)
贡献
git clone https://github.com/hell03end/hse_ruz.git cd hse_ruz pytest -v # check requests schema is valid and etc.