Efekahya / convenientSakai

Tool for extracting and processing data from the online.deu.edu.tr website used by Dokuz Eylül University for online education. This project is a project that I have done in my spare time for educational purposes only. It's not even close to being finished in its current state.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

convenientSakai

There are 4 different versions of this application

main.py : Simple pyhton script that gathers and parses data from online education system (sakai). There is no user interface for this application it is simply a proof of concept

expressServer : A fullstack application that utilitizes MERN stack. This version allows multiple users to register and view their announcements, assignments and meetings.

kivyApp : Kivy mobile app written in python. This version allows multiple users to register and view their announcements, assignments and meetings.

webServer : A backend written in python. This version also supports multiple users.

USAGE

You can choose from 4 different branches and read more about the endpoints available. I'm currently working on "expressServer" branch. I will no longer develop the other branches so the recommended branch is the "expressServer" branch.

main.py USAGE

--> This script goes through your favorite sites that you can alter from your university's Sakai website by simply clicking the star icon next to the name of the class.
--> You need to change the "auth" object's values with your credentials after that you can simply run the program with "python main.py" command.
--> You can print out the desired data.
--> This script will send a request to the domain that is provided on the "siteLink" variable so you may want to change that to your university's Sakai domain
--> This script is written using OOP fundamentals therefore you can easily access any data you want

Auth line to be changed : auth = {'eid': '1111111111@ogr.deu.edu.tr', 'pw': '12345', 'submit': 'Giriş'}
siteLink line to be changed : siteLink = 'https://online.deu.edu.tr'

AVAILABLE PROPERTIES

print(dersler[7].name)
print(dersler[7].duyuru)
print(dersler[7].meeting[0]["content"]
print(dersler[7].meeting[0]["meetingUrl"]

PRINT ALL THE CLASS NAMES

for i in range(len(dersler)):
    print(dersler[i].name)

About

Tool for extracting and processing data from the online.deu.edu.tr website used by Dokuz Eylül University for online education. This project is a project that I have done in my spare time for educational purposes only. It's not even close to being finished in its current state.


Languages

Language:Python 100.0%