Breccan / digitalnz forked from jamesotron/digitalnz

Ruby lib to provide access to digitalnz.org's API

This URL has Read+Write access

name age message
file Changelog Loading commit data...
file History.txt
file LICENSE Tue Mar 10 01:15:20 -0700 2009 added license and readme doc [jamesotron]
file README.rdoc Tue Mar 10 15:13:50 -0700 2009 commit [jamesotron]
file Rakefile Thu Mar 19 02:32:17 -0700 2009 Bumped version [James Harton]
file digitalnz.gemspec Thu Mar 19 13:56:48 -0700 2009 history [James Harton]
directory lib/
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.