aioruz-0.8.0
توضیحات
Async HSE RUZ API client for Python3
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | aioruz-0.8.0 |
| نام | aioruz |
| نسخه کتابخانه | 0.8.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Arseny Mitin |
| ایمیل نویسنده | mitinarseny@gmail.com |
| آدرس صفحه اصلی | https://github.com/mitinarseny/aioruz |
| آدرس اینترنتی | https://pypi.org/project/aioruz/ |
| مجوز | - |
# aioruz
[](https://pypi.org/project/aioruz/)
> Async HSE RUZ API client for Python 3.
## Usage
To obtain student's schedule:
```python
from datetime import date, timedelta
import asyncio
import aioruz
async def main():
# Get schedule on 10 days forward
print(await aioruz.student_schedule(email='example1@edu.hse.ru', to_date=10))
# Suitable for lecturers as there is no way to get lecturer's person_id by email
print(await aioruz.schedule(person_type='lecturer',
person_id=12345,
from_date=date.today(),
to_date=date.today() + timedelta(days=7))
# Get student's info by email
print(await aioruz.student_info('example@edu.hse.ru'))
# Search for query
print(await aioruz.search('some name'))
loop = asyncio.get_event_loop()
loop.run_until_completed(main())
```
## Installiation
Install via Pip:
```bash
pip install aioruz
```
## Security
By default SSL certificate validation is off. To ebale it, set `aioruz.VERIFY_SSL` to `True`.
```python
import aioruz
aioruz.VERIFY_SSL = True
```
Or you can set `RUZ_VERIFY_SSL` environment virable to `True`.
# Feedback
Please, send your bug reports to [this](https://t.me/joinchat/BpQR5w35HBg3CB1zJYlRHw) Telegram chat.
نیازمندی
| مقدار | نام |
|---|---|
| ==3.4.2 | aiohttp |
| ==3.4.3 | asyncio |
نحوه نصب
نصب پکیج whl aioruz-0.8.0:
pip install aioruz-0.8.0.whl
نصب پکیج tar.gz aioruz-0.8.0:
pip install aioruz-0.8.0.tar.gz