Contact List

Build Status

A small gem for fetching a user's contacts from various social providers. Now with 100% less ActiveSupport!

Usage

Instantiate a provider with your API key and the OAuth token for the user:

provider = Contacts[:linkedin].new(consumer_key: 'foo', consumer_secret: 'bar', token: 'moo', secret: 'oink')

Fetch the contacts:

provider.contacts.first.name
# => "Joe Bloggs"

Todo

Improve the API. Seriously. It's awful.

Contribootin'

  • Fork the project.
  • Make your feature addition or bug fix.
  • Add specs for it. This is important so I don't break it in a future version unintentionally.
  • Commit, do not mess with rakefile, version, or history (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
  • Send me a pull request. Bonus points for topic branches.