Metadata-Version: 2.1
Name: python-tusur
Version: 0.3.1
Summary: A project that allows you to work with tusur.ru via python
Home-page: https://github.com/Weebp-Team/tusur
Author: Tarodictrl
Author-email: vudi600@gmail.com
Keywords: python python3.7 tusur
Classifier: Programming Language :: Python :: 3.11
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE

# Tusur API
![PyPI](https://img.shields.io/pypi/v/python-tusur?color=orange) ![GitHub Pull Requests](https://img.shields.io/github/issues-pr/Weebp-Team/python-tusur?color=blueviolet) ![License](https://img.shields.io/pypi/l/python-tusur?color=blueviolet) ![Forks](https://img.shields.io/github/forks/Weebp-team/python-tusur?style=social)

Python library for working with site TUSUR

## Installation

```sh
pip install python-tusur 
```

## Usage
How get timetable by group:
```python
from tusur import Timetable

>>> timetable = Timetable()
>>> timetable.get_timetable("571-2", week_id=666)
>>> [
        {
        "day": "Mon, May 22",
        "lessons": [
            {
                "time": "08:50 10:25",
                "discipline": null,
                "view": null,
                "teacher": null
            },
            {
                "time": "10:40 12:15",
                "discipline": null,
                "view": null,
                "teacher": null
            },
        ...
        ]
        }
    ]
```


## Dependencies

- [requests](https://pypi.org/project/requests/)
- [beautifulsoup4](https://pypi.org/project/beautifulsoup4/)

## Contributing

Bug reports and/or pull requests are welcome

## License

[MIT](https://choosealicense.com/licenses/mit/)
