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 details)

Uploaded Source

File details

Details for the file hse_ruz-2.1.2.tar.gz.

File metadata

  • Download URL: hse_ruz-2.1.2.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for hse_ruz-2.1.2.tar.gz
Algorithm Hash digest
SHA256 d0a51ef30d0e336a7c1c7c35b0433c1ea39f47e23bcce53695eeb23a399dd701
MD5 b93e4259c53f37e1164c2e9171dae206
BLAKE2b-256 cb0a811229bc5572d5262b3b4336f6fef154506d9d90c65ddd5d0d49a50aaf76

See more details on using hashes here.

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