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
Add this line to your application's Gemfile:
gem 'atdis'
And then execute:
$ bundle
Or install it yourself as:
$ gem install atdis
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
page.next_page
and
page.previous_page
page.valid?
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request