Skip to content
This repository

Tiny web crawler for University of Waterloo students

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 uw_learn.gemspec
README.md

UW Learn

Tiny web crawler for University of Waterloo students. Gets student grades from University of Waterloo's D2L website. http://learn.uwaterloo.ca

Inspired by: https://github.com/phleet/UWAngel-CLI

Version 1.0.1

Installation

$ [sudo] gem install uw_learn

Usage

require 'uw_learn'

student = Uwlearn.new "LOGIN", "PASSWORD"
student.print_grades
student.print_courses
Alternatively, using the executable
$ uw_learn "LOGIN" "PASSWORD"

Testing

To run the tests:

  1. Open spec/lib/uw_learn_spec.rb
  2. Enter your own username and password
  3. Run command:
    $ rake 
Something went wrong with that request. Please try again.