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
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.3.tar.gz
(8.5 kB
view details)
File details
Details for the file python-tusur-0.3.3.tar.gz
.
File metadata
- Download URL: python-tusur-0.3.3.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae7b4e2443f61420e7c2e8b268eb1899d1a56b3a37ace034d84249eca78ae5d5 |
|
MD5 | c45cbba3943519ab14429849d5f8a0ed |
|
BLAKE2b-256 | 7a15b8868b75ddd3dcb91b1a2423facb410600d6558f1eaba3990f779a3fb50f |