Giter Site home page Giter Site logo

crossphoton / aims-grades-script Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 0.0 377 KB

Run this in background during result time.........

Home Page: https://heroku.com/deploy?template=https://github.com/crossphoton/AIMS-Grades-Script/

License: MIT License

Python 97.51% HTML 2.49%
grades grades-script institute python script

aims-grades-script's Introduction

Deploy

AIMS-Grades-Script

**Exculsively for IIIT Raichur students

** Can be used for other institute AIMS portal too. Change the url for that. (Eg. IITH, IIIT Dharwad [Haven't tried it though])

By running this script you don't have to check for your grades again and again on the institute AIMS portal, instead you'll get an email whenever there's an update

How to use (Heroku - obv. better)

Click on the deploy button above and create an app.

Create heroku app

Now Manage app --> settings --> Reveal Config Vars

Add following variables

cookie (As shown below)
email (Gmail account email address to send email)
password (Password for given gmail account [Use app passwords])
period (Academic Period)
receiver (Receiver's email address)
web (your app url[Use open app button])

Set Env

(Get the cookie value as shown below)

Lastly Resources --> edit run process --> Turn on switch --> Confirm Starting Script

Make sure the cost is zero......xD (It'll be though)

How to use (local/self hosted)

Install python requirements.

Get cookie value

Login into AIMS portal and pull out the cookie value using your browser's Dev Tools. Chrome Example

Setting required fields

Set the following fields in the script. (Comments are written after these variables)

email
password
from
to

Running the script

Run the script using Python v3.

python3 script.py

Enter cookie value and academic period id. (Generally it's the semester number but for 3rd sem it is 4, don't know why)

The script will start and will send an email when any of the course grades are changed

Output:

[2020-12-27 02:10:52.410499] 1/7 courses till now. Trying again in 10 mins.....
[2020-12-27 02:20:52.837820] 1/7 courses till now. Trying again in 10 mins.....
[2020-12-27 02:30:53.194651] 1/7 courses till now. Trying again in 10 mins.....
Successfully sent email.
[2020-12-27 02:40:53.594826] 3/7 courses till now. Trying again in 10 mins.....
.
.
.
.
.


Wait for the email.......

Extras

You can change the interval accordingly in the script.

Run this in background during result time and enjoy......... (Oh wait how can you enjoy)




Bye bye.....

aims-grades-script's People

Contributors

crossphoton avatar imgbotapp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.