Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Ruby lib to provide access to digitalnz.org's API
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
Changelog
History.txt
LICENSE
README.rdoc
Rakefile
digitalnz.gemspec

README.rdoc

DigitalNZ

Description

A small gem to interface with the DigitalNZ API at www.digitalnz.org/

Installation

Stable

sudo gem install digitalnz

Bleeding Edge

$ git clone git://github.com/jamesotron/digitalnz.git
$ cd digitalnz
$ rake gem && sudo gem install pkg/digitalnz-<version>.gem

Usage

To get started you'll need to grab an API key from DigialNZ, you can get this here: www.digitalnz.org/dashboard/api_key

Now that you've got your API key you can try using it:

$ irb -r rubygems
>> require 'digitalnz'

Next, set your API key (you only need to do this once per session):

>> DigitalNZ.api_key = '<your api key here>'

License

Copyright © 2009 James Harton (jamesotron@gmail.com)

Please see the LICENSE file with this distribution.

Something went wrong with that request. Please try again.