Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.22 KB

File metadata and controls

45 lines (32 loc) · 1.22 KB

btu.py

Python library that makes fetching data from BTU Classroom really easy.

Example usage of library:

from btu.classroom import Classroom

username = ""  # ბითიუს მეილი ან პირადი ნომერი
password = ""  # პაროლი

classroom = Classroom(username, password)

print(f"შემოსულია {classroom.inbox} წაუკითხავი შეტყობინება")

see examples for more.

btu-fetch

Script to run scrapers and output data in json format.

Usage of script:

usage: btu-fetch [-h] [-s source] [-o path] [--username username] [--password password]
                 {notifications,courses,messages} [{notifications,courses,messages} ...]

Run BTU Classroom scrapers.

positional arguments:
  {notifications,courses,messages}
                        scraper to run

options:
  -h, --help            show this help message and exit
  -s source             path to source file.json
  -o path               path to output directory
  --username username   classroom username
  --password password   classroom password

Installation

pip install btu.py