First clone this repository :
$ git clone https://github.com/Crysicia/THP-Grades
Then navigate to the cloned repository and install the dependencies :
$ cd THP-Grades
$ bundle install
Now, create a .env file :
$ touch .env
And put your credentials like this :
THP_LOGIN=email
THP_PASSWORD=password
Save it, now you can simply run the script :
$ ruby app.rb
This simple-yet-useful script fetch your corrections results and display your average grade from it.
@Crysicia the 51st.