Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Social search querying engine for Qwerly, Klout, and Rapleaf API's

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 Rakefile
Octocat-spinner-32 stalky.gemspec
README.rdoc

Stalky - API wrappers for Social Search Services

Homepage

www.github.com/thoughtpunch/stalky

Author

Dan Barrett

Copyright

© 2011 Dan Barrett

License

MIT

Stalky

INSTALLATION

gem install stalky

DESCRIPTION

Stalky exists to make it easier to get all publicly available information about a user across the web. Why would you want to do this?

  • Flush out user information in the your database

  • Help users fill out forms

  • Track down users with ease

  • Identity verification and validation

Stalky works by taking one piece of info (usually email address or twitter username) and running it against the most popular social search API's, such as Qwerly, Rapleaf, and others. If there's only 1 result, it will use that by default. If multiple results are returned, they are saved to an array to be choosen from later.

To get the full capabilities you are going to have to get API keys for all the services listed below. Create a new file called stalky.rb inside of config/initializers and fill out the information as follows:

<tt>

Stalky.configure do |config|
	qwerly.api_key = QWERLY API KEY
	rapleaf.api_key = RAPLEAF API KEY
end

</tt>

You can request API keys for the following services at the URL's below:

EXAMPLES

<tt> User.stalky.name #query all available fields in the “User” model and get most likely “name” value. If there are multiple results an array will be returned. You can ajaxify this to have the other form fields auto-fill based on the results.

User.stalky.name.verify? #will ask to verify before writing to db

Stalky::New.search(“someemail@gmail.com”) #returns a hash with full results from a user's email address

Stalky::new.Search(“thoughtpunch”) #returns hash from Twitter or Facebook user ID

#switches –verbose #lists the data sources for each piece of PII </tt>

CONTRIBUTING

I am admittedly a ruby n00b. Please feel free to message me with any requests, advice, refactoring tips, etc.

COPYRIGHT

Something went wrong with that request. Please try again.