Ruby gem for connecting with Apollo.io.
Outline:
- Getting Started
- Find Person from LinkedIn URL
- Find Person from Name and Company
- Find Person from Name and Domain
- Find Person from Job Position and Domain
- Install the gem.
gem install blackstack-enrichment
- 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>',
)
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.
client.find_person_from_name_and_company(name: 'Richard LaPointe', company: 'USPRO')
=> richard@uspro.net
The Apollo API Key is mandatory for this operation.
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.
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.