A Ruby wrapper for the Penn OpenData APIs
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
.travis.yml
Gemfile
LICENSE.txt
README.md
Rakefile
penn_sdk.gemspec

README.md

PennSDK: Rubygem for Penn OpenData

Build Status Code Climate

This is the Penn OpenData API implementation in Ruby.

Installation

Add this line to your application's Gemfile:

gem 'penn_sdk'

And then execute:

$ bundle

Or install it yourself as:

$ gem install penn_sdk

Usage

require 'penn_sdk'

registrar = PennSDK::Registrar.new "API_USERNAME", "API_PASSWORD"
registrar.course "CHEM", "242"

Contributing

  1. Fork it ( https://github.com/pennlabs/penn-sdk-ruby/fork )
  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 a new Pull Request