Query address data from swiss directory providers.
Install the gem: gem install swissmatch-directories
Depending on how you installed rubygems, you have to use sudo
:
sudo gem install swissmatch-directories
In Ruby: require 'swissmatch/directories'
require 'swissmatch/directories'
directories = SwissMatch::Directories.create(:telsearch, api_token: your_token)
params = {first_name: 'Stefan', last_name: 'Rusterholz'}
directories.addresses(params).each do |address|
puts address,""
end
- {SwissMatch::Directories} Convenience methods to create and access directory services
- {SwissMatch::Directories::Service} The basic API to use directory services
- Main Project
- Online API Documentation
- Public Repository
- Bug Reporting
- RubyGems Site
- Swiss Posts MAT[CH]
You can use this code under the {file:LICENSE.txt BSD-2-Clause License}, free of charge. If you need a different license, please ask the author.
- Simon Hürlimann for contributions
- AWD Switzerland for donating time to work on this gem.