Skip to main content

A project that allows you to work with tusur.ru via python

Project description

Tusur API

PyPI GitHub Pull Requests License Forks

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

MIT

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.1.tar.gz (7.7 kB view hashes)

Uploaded Source

Built Distribution

python_tusur-0.3.1-py3-none-any.whl (10.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page