Skip to content
This repository has been archived by the owner on Dec 5, 2017. It is now read-only.

brandonmwest/rainmaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rainmaker Ruby Gem

A Ruby wrapper for the Rainmaker API

Installation

gem install rainmaker

Documentation

http://rdoc.info/gems/rainmaker

Usage Examples

require "rubygems"
require "rainmaker"

# This could go in an initializer
Rainmaker.configure do |config|
  config.api_key = "rainmaker_api_key_goes_here"
  config.timeout_seconds = "30"  # value will be used for all requests unless overridden
  config.twitter_token = "twitter_token_goes_here"  # contact [email protected] for details
  config.linkedin_token = "linked_in_token_goes_here"  # contact [email protected] for details
end

# Get information about an email address
person = Rainmaker.person("[email protected]")

# Get person's family_name
puts person.contact_info.family_name

# Override timeout_seconds for single call
person = Rainmaker.person("[email protected]", { :timeout_seconds => "0" })

Copyright

Copyright (c) 2011 Brandon West

See LICENSE for details.

About

Ruby wrapper for the Rainmaker API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages