Project

engrade

0.0
No commit activity in last 3 years
No release in over 3 years
Basic ruby wrapper for the Engrade API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

engrade

Ruby wrapper for the Engrade API

Installation

gem install 'engrade'

Usage

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')

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Contact

Comments? Concerns? Want additional features? Contact me by email at zgthompson@gmail.com.