Sha256: 0b45d7fc2812024726ba1ebda9a1fb614480194bd33645b86c18dbe35b5a9424

Contents?: true

Size: 925 Bytes

Versions: 1

Compression:

Stored size: 925 Bytes

Contents

# engrade

Ruby wrapper for the Engrade API

## Installation

```
gem install 'engrade'
```

## Usage

```ruby
require 'engrade'

# Getting started

Engrade.set_apikey('123456789')
Engrade.login('username', 'password')

# Grabbing classes

classes = Engrade.classes
classes = Engrade.classes("Sem1")

# Getting assignments from classes

assignments = Engrade.assignments(classes)

# 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.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
engrade-1.0.1 README.md