ExZoomInfo
ZoomInfo Client for Elixir
Installation
If available in Hex, the package can be installed as:
-
Add
ex_zoominfoto your list of dependencies inmix.exs:
def deps do
[{:ex_zoominfo, "~> 0.1.0"}]
endOr from github:
def deps do
[{:ex_google, github: "techgaun/ex_zoominfo"}]
end-
Ensure
ex_zoominfois started before your application:
def application do
[applications: [:ex_zoominfo]]
endConfiguration
-
Configure
ex_zoominfoby providing appropriate configurations as below:
config :ex_zoominfo, :api,
partner_password: System.get_env("ZOOMINFO_PASSWORD"),
partner_code: System.get_env("ZOOMINFO_CODE")Usage
-
You can now use
ex_zoominfoas below:
alias ExZoomInfo.Api, as: ZoomInfo
ZoomInfo.search(%{"companyName" => "zoominfo", "state" => "Massachusetts"}, [type: "search", object: "company"])Refer to the ZoomInfo API Documentation for more information on what arguments you can pass.
Supported object types are:
personcompanyusage
Supported query types are:
matchsearchdetailquery