Ruby wrapper for the Engrade API
gem install 'engrade'
require 'engrade'
# Getting started
Engrade.set_apikey('123456789')
Engrade.login('username', 'password')
# Grabbing classes
classes = Engrade.classes
classes = Engrade.classes(:only => "Sem1")
classes = Engrade.classes(:except => "Biology")
# Getting assignments from classes
assignments = Engrade.assignments(classes)
assignments = Engrade.assignments(classes, :only => "Final")
assignments = Engrade.assignments(classes, :except => "Quiz")
# Deleting assignments
Engrade.delete!(assignments)
# Posting directly to Engrade
# (make sure to set apikey and login first)
Engrade.post(:apitask => 'assignment', :clid => '101', :assnid => '1')
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Comments? Concerns? Want additional features? Contact me by email at [email protected].