Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Query address data from swiss directory providers.
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
development
doc
documentation
lib/swissmatch
rake
test
.gitignore
.yardopts
LICENSE.txt
README.markdown
Rakefile
TODO.markdown
swissmatch-directories.gemspec

README.markdown

README

Summary

Query address data from swiss directory providers.

Installation

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'

Usage

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

Relevant Classes and Modules

  • {SwissMatch::Directories} Convenience methods to create and access directory services
  • {SwissMatch::Directories::Service} The basic API to use directory services

Links

License

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.

Credits

Something went wrong with that request. Please try again.