A project that allows you to work with tusur.ru via python
Project description
Tusur API
Python library for working with site TUSUR
Installation
pip install python-tusur
Usage
How get timetable by group:
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
Contributing
Bug reports and/or pull requests are welcome
License
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
python-tusur-0.3.1.tar.gz
(7.7 kB
view hashes)
Built Distribution
Close
Hashes for python_tusur-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e14a9b8231597f061132369e4b5f1981ebde059b8462aa5afedbaaba710c5c7b |
|
MD5 | d528d28c4ecebc766a01c8a1f87f842d |
|
BLAKE2b-256 | 331a066cb6759c6093ffe0ab48ce83f5e477b9fad9a3cb2331498d007a77334d |