Skip to content

MassProspecting/apollo-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enrichment

Ruby gem for connecting with Apollo.io.

Outline:

  1. Getting Started
  2. Find Person from LinkedIn URL
  3. Find Person from Name and Company
  4. Find Person from Name and Domain
  5. Find Person from Job Position and Domain

1. Getting Started

  1. Install the gem.
gem install blackstack-enrichment
  1. Create a client.

You can define your Apollo API key:

require 'blackstack-enrichment'
client = BlackStack::Enrichment.new(apollo_apikey: '<your apollo api key here>')

You can define your FindyMail API key:

require 'blackstack-enrichment'
client = BlackStack::Enrichment.new(findymail_apikey: '<your findymail api key here>')

You can define both:

require 'blackstack-enrichment'
client = BlackStack::Enrichment.new(
    apollo_apikey: '<your apollo api key here>',
    findymail_apikey: '<your findymail api key here>',
)

2. Find Person from LinkedIn URL

client.find_person_email_from_linkedin_url(url: 'https://www.linkedin.com/in/richardglapointe')
=> richard@uspro.net

The Apollo API Key is mandatory for this operation.

3. Find Person from Name and Company

client.find_person_from_name_and_company(name: 'Richard LaPointe', company: 'USPRO')
=> richard@uspro.net

The Apollo API Key is mandatory for this operation.

4. Find Person from Name and Domain

client.find_person_from_name_and_domain(name: 'Richard LaPointe', domain: 'uspro.net')
=> richard@uspro.net

Either Apollo or FindyMail API Key is mandatory for this operation.

5. Find Person from Job Position and Domain

b = client.find_persons_from_title_and_domain(titles: ['CEO', 'Owner', 'President'], domain: 'benesch.com')
puts "#{b.first['first_name']}, #{b.first['last_name']}, #{b.first['title']}, #{b.first['emails'].first}".green
=> Steve, Tindale, Chief Executive Officer, stindale@benesch.com

The Apollo API Key is mandatory for this operation.

External Links

About

Ruby Gem for Connecting with Apollo.io

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages