Project

rainmaker

0.01
Repository is archived
No commit activity in last 3 years
No release in over 3 years
A Ruby wrapper for the Rainmaker API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.6
~> 1.4
~> 0.9
~> 2.6
~> 0.4
~> 1.6
~> 0.7

Runtime

~> 0.6.1
~> 1.0.0
~> 1.0.0
~> 0.2.0
~> 0.3.0
 Project Readme

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 support@rainmaker.cc for details
  config.linkedin_token = "linked_in_token_goes_here"  # contact support@rainmaker.cc for details
end

# Get information about an email address
person = Rainmaker.person("brawest@gmail.com")

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

# Override timeout_seconds for single call
person = Rainmaker.person("brawest@gmail.com", { :timeout_seconds => "0" })

Copyright

Copyright (c) 2011 Brandon West

See LICENSE for details.