Skip to main content

Python wrapper for HSE RUZ API

Project description

https://travis-ci.org/hell03end/hse_ruz.svg?branch=master https://badge.fury.io/py/hse_ruz.svg

Python wrapper for HSE RUZ API.

Versions under 2.1.0 are depreciated due to HSE RUZ API schema changes.

What’s new?

Requirements

  • Python >= 3.5 or latest PyPy3

Installation

pip install -U hse_ruz

Usage

import ruz
schedule = ruz.person_lessons("mymail@edu.hse.ru")

Module configuration performs throw setting environment variables:

  • HSE_RUZ_ENABLE_VERBOSE_LOGGING - to enable verbose logging (@log)

  • HSE_RUZ_API_URL - url to RUZ API, possible values (not all endpoints supported for 2, 3):

    1. http://92.242.58.221/ruzservice.svc - default

    2. http://92.242.58.221/ruzservice.svc/v2

    3. https://www.hse.ru/api

  • CHECK_EMAIL_ONLINE - to enable online email verification (throw API call)

Contributing

git clone https://github.com/hell03end/hse_ruz.git
cd hse_ruz
pytest -v  # check requests schema is valid and etc.

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

hse_ruz-2.1.2.tar.gz (8.0 kB view hashes)

Uploaded Source

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