dnevnikru
Module for working with the site dnevnik.ru with python
Dnevnik object accepts login and password from the dnevnik.ru account
Methods: homework, marks, searchpeople, birthdays, week
Wiki
Read the full functionality of the module here: (Doesn't work in regions where you can enter the Diary only through GosUslugi !)
Installation
Windows:
Run the command in the terminal:
pip install dnevnikru
Examples of use
from dnevnikru import Dnevnik
dairy = Dnevnik(login='Your login', password='Your password')
homework = dairy.homework(studyyear=2020, datefrom='01.12.2020', dateto='30.12.2020')
marks = dairy.marks(index=0, period=1)
class_11b = dairy.searchpeople(grade='11B')
birthdays = dairy.birthdays(day=9, month=5)
schedule = dairy.week(info="schedule", weeks=-1)
Wiki.
For more examples of uses and parameters in methods, seeRequires
The module requires requests
, lxml
, bs4
libraries
Releases
- 1.0
Contact
Aleksandr – tg: @paracosm17 – email: [email protected]
LICENSE
Distributed under the Apache License 2.0 license. See LICENSE
for more information.