Skip to content

ianfleeton/postcode_software

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

Unofficial Ruby wrapper for using the web SDK provided by https://www.postcodesoftware.com.

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

Contributors 2

  •  
  •  

Languages