Project

whit_li

0.0
No commit activity in last 3 years
No release in over 3 years
Whit.li Ruby wrapper
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

WhitLi

Ruby wrapper for the WhitLi API, provides an easy-to-use wrapper for WhitLi APIs. Originally developed for ResumUP

Installation

Install via rubygems

[sudo] gem install whit_li

Or via bundler:

gem "whit_li"

Usage

Usage examples

require 'rubygems'
require 'whit_li'

client = WhitLi::Client.new "api_key_from_whitli"

# import token from facebook
client.import_token facebook_id, facebook_token

# populate data from facebook to whitli
client.populate facebook_id

# manual import data to whitly
client.import_generic request_body

# retrieve vectors for user by facebook_id and key. More about keys read at http://developer.whit.li/docs/read/How_to_Interpret_a_Whitli_Key
vectors = client.get facebook_id, key_id

# compare users in contexts. More about context read at http://developer.whit.li/docs/read/How_to_Interpret_a_Whitli_Key
vectors = client.compare facebook_id_1, facebook_id_2, context_id

TODO

  • Add 146% Test coverage
  • Add vector parser

Note on Patches/Pull Requests

  • Fork the project.
  • Make your feature addition or bug fix.
  • Commit, do not mess with rakefile, version, or history.
  • Send me a pull request. Bonus points for topic branches.

Copyright

See LICENSE for details.