Skip to content

Graphity/btu.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Fetch BTU Classroom data easily

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages