Project

sourcing

0.0
No commit activity in last 3 years
No release in over 3 years
API client for sourcing.io
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0

Runtime

~> 1.0.7
 Project Readme

Sourcing

A Ruby API client to https://sourcing.io.

Installation

Add this line to your application's Gemfile:

gem 'sourcing'

And then execute:

$ bundle

Or install it yourself as:

$ gem install sourcing

Usage

First authorize requests by setting the API key found on your account's settings page.

Sourcing.api_key = ENV['SOURCING_KEY']

Then you can lookup people by email address:

person = Sourcing::Person[email: 'info@eribium.org']

If the person can't be found, then nil will be returned.

You can also look people up by GitHub and Twitter handle:

person = Sourcing::Person[github: 'maccman']
person = Sourcing::Person[twitter: 'maccaw']

CLI

The gem also includes a sourcing executable, which you can use like this:

$ sourcing --twitter DanielZarick

    {
      "id" => "7baccc21-36a7-436c-8d55-e3d15b61dbdf",
      "name" => "Daniel Zarick",
      "headline" => "Developer at 33cc77",
      "url" => "http://danielzarick.com",
      ...