Skip to content

EnaiaInc/apollo_io

Repository files navigation

Apollo.io client library

Elixir client for the apollo.io API.

Installation

If available in Hex, the package can be installed by adding apollo_io to your list of dependencies in mix.exs:

def deps do
  [
    {:apollo_io, "~> 0.1.0"}
  ]
end

Configuration

The API key can be added to the config as follows in the config.exs or runtime.exs:

config :apollo_io,
  api_key: <YOUR_API_KEY>

Usage

No additional configuration is needed. Pass your api_key on every request:

ApolloIo.people_enrich(email: "email@domain.com")
ApolloIo.organization_enrich(domain: "some.domain.com")
ApolloIo.search(person_titles: ["sales director"])

Supported params for people_enrich are:

  • first_name (optional)
  • last_name (optional)
  • name (optional)
  • email (optional)
  • organization_name (optional)
  • domain (optional)
  • id (optional)

Supported params for organization_enrich are:

  • domain (required)

Supported params for search are:

  • person_titles (optional) - list of titles
  • person_past_organization_ids (optional) - list of organization ids
  • q_organization_domains (optional) - list of domains
  • page (optional) - integer

About

API client for apollo.io

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages