Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A ruby interface to the application tracking data interchange specification (ATDIS) API
Ruby
branch: master

README.md

Atdis

Build Status Coverage Status Code Climate Gem Version

A ruby interface to the application tracking data interchange specification (ATDIS) API

This has been developed against ATDIS version 1.0.2.

Source code is available on GitHub at https://github.com/openaustralia/atdis

Installation

Add this line to your application's Gemfile:

gem 'atdis'

And then execute:

$ bundle

Or install it yourself as:

$ gem install atdis

Usage

Basic usage

require 'atdis'
f = ATDIS::Feed.new("http://www.planningalerts.org.au/atdis/feed/1/atdis/1.0")

# Get the first application in the first page of results for all the applications
page = f.applications
app = page.response.first

puts "#{app.dat_id}: #{app.description} at #{app.location.address}"

DA2013-0381: New pool plus deck at 123 Fourfivesix Street Neutral Bay NSW 2089

Paging

page.next_page

and

page.previous_page

Validation

page.valid?

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
Something went wrong with that request. Please try again.