All Projects → IvanProgramming → dnevnik_mos_ru

IvanProgramming / dnevnik_mos_ru

Licence: MIT license
Python module to get easy machine access to dnevnik.mos.ru

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to dnevnik mos ru

Automated-Whatsapp
Automated WhatsApp replies using selenium module in Python
Stars: ✭ 23 (+9.52%)
Mutual labels:  selenium, google-chrome
docker-images
Docker images for Katalon Studio and other frameworks
Stars: ✭ 110 (+423.81%)
Mutual labels:  selenium, google-chrome
chef-chrome
Chef cookbook to install Google Chrome browser
Stars: ✭ 16 (-23.81%)
Mutual labels:  google-chrome
zhihu-crawler
徒手实现定时爬取知乎,从中发掘有价值的信息,并可视化爬取的数据作网页展示。
Stars: ✭ 56 (+166.67%)
Mutual labels:  selenium
Whatsapp-Bot
Web.whatsapp.com bot made with selenium
Stars: ✭ 39 (+85.71%)
Mutual labels:  selenium
flattr-extension
Flattr web extension - monetize your content effortlessly.
Stars: ✭ 25 (+19.05%)
Mutual labels:  google-chrome
spydriver
🕵️ Lightweight utility to intercept WebDriver and WebElement method calls.
Stars: ✭ 24 (+14.29%)
Mutual labels:  selenium
chameleon-crawler
Browser automation for Chameleon.
Stars: ✭ 17 (-19.05%)
Mutual labels:  selenium
giulius-selenium-tests
A test harness that allows Selenium tests to be run using JUnit and test fixtures to be created and injected by a WebDriver-aware Guice
Stars: ✭ 12 (-42.86%)
Mutual labels:  selenium
new-tab
⚡ A high-performance browser new tab page that gets you where you need to go faster.
Stars: ✭ 64 (+204.76%)
Mutual labels:  google-chrome
instagram-profilecrawl
📝 quickly crawl the information (e.g. followers, tags etc...) of an instagram profile.
Stars: ✭ 964 (+4490.48%)
Mutual labels:  selenium
linkedinBot
Automate the process of sending referral request and cold mailing on LinkedIn
Stars: ✭ 25 (+19.05%)
Mutual labels:  selenium
python-appium-framework
Complete Python Appium framework in 360 degree
Stars: ✭ 43 (+104.76%)
Mutual labels:  selenium
tithiwa
Automate Web WhatsApp with selenium in python.
Stars: ✭ 17 (-19.05%)
Mutual labels:  selenium
king-bot
travian kingdoms automation (www.kingdoms.com)
Stars: ✭ 19 (-9.52%)
Mutual labels:  selenium
facebook-cleaner
It is almost spring, so time for a pre spring cleaning. This time: taking care of your Facebook. This script can safe you a lot of time if you would try to do that by hand.
Stars: ✭ 52 (+147.62%)
Mutual labels:  selenium
docker-selenium-lambda
The simplest demo of chrome automation by python and selenium in AWS Lambda
Stars: ✭ 172 (+719.05%)
Mutual labels:  selenium
ig-automatic-story-viewer
Python Program To Send Instagram Story Views
Stars: ✭ 17 (-19.05%)
Mutual labels:  selenium
whatsapp-web
Simon is a Python library that helps made easy the browser automation for WhatsApp Web service
Stars: ✭ 67 (+219.05%)
Mutual labels:  selenium
resgen
Keep track of jobs you've applied to, automate resume & cover letter creation; generate PDFs from .odt templates on the fly while scraping the job post and tracking employer status.
Stars: ✭ 31 (+47.62%)
Mutual labels:  selenium

dnevnik-mos-ru

time tracker CodeFactor Discord GitHub Repo stars PyPI

Python библиотека, для удобного доступа к ЭЖД.

Пример кода
# Вывод сегодняшних уроков
# Импорт библиотеки
import dnevnik

# Данные для авторизации
LOGIN = ""
PASSWORD = ""

# Данные для Selenium
DRIVER_PATH = ""

# Авторизуемся
me = dnevnik.Client(login=LOGIN, password=PASSWORD, selenium_executable_path=DRIVER_PATH)

# Получаем список уроков на сегодня
lessons = me.get_lessons()

# Выводим уроки по порядку
for lesson in lessons:
    print("{0.lesson_number}. {0.subject_name}".format(lesson))

Установка

Установка Selenium

Пока реализован только вариант с ChromeDriver.

  1. Зайти в Google Chrome. Три точки сверху -> Справка -> О браузуре Google Chrome
  2. Запомнить версию.
  3. Отсюда скачать chromedriver для своей версии Chrome и своей OS
  4. Скопируйте исполняемый файл в какую-нибудь папку и запомните путь.
  5. В конструкторе Client параметр флаг use_selenium и внесите путь в selenium_executable_path
Установка библиотеки
  • В Linux/MacOS
    pip3 install dnevnik-mos-ru
    
  • В Windows
    pip install dnevnik-mos-ru
    
Документация API

Документацию API в формате .RAML можно найти в в папке docs. Можно сгенерировать файл .HTML с помощью утилиты raml2html

Документация библиотеки

Документацию библиотеки можно будет найти здесь.

Join Discord Server
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].