Skip to content

ianfleeton/postcode_software

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

<img src=“https://badge.fury.io/rb/postcode_software.svg” alt=“Gem Version” />

<img src=“https://travis-ci.org/ianfleeton/postcode_software.svg” />

Unofficial Ruby wrapper for using the web SDK provided by postcodesoftware.net.

Installation

gem install postcode_software

Usage

require 'postcode_software'
PostcodeSoftware.account  = 'myaccount'
PostcodeSoftware.password = 'mypassword'
response = PostcodeSoftware.look_up('LS18 4AB')
response.address_1 # => "North Broadgate Lane"
response.address_2 # => "Horsforth"
response.town      # => "Leeds"
response.postcode  # => "LS18 4AB"
response.premises[0]
# => {:organisation=>nil, :building_details=>"Broadgate House", :number=>nil}

About

Ruby wrapper for PostcodeSoftware's web SDK, see http://www.postcodesoftware.net/sdk_web.htm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages