ZoomInfo Client for Elixir
If available in Hex, the package can be installed as:
- Add
ex_zoominfo
to your list of dependencies inmix.exs
:
def deps do
[{:ex_zoominfo, "~> 0.1.0"}]
end
Or from github:
def deps do
[{:ex_google, github: "techgaun/ex_zoominfo"}]
end
- Ensure
ex_zoominfo
is started before your application:
def application do
[applications: [:ex_zoominfo]]
end
- Configure
ex_zoominfo
by providing appropriate configurations as below:
config :ex_zoominfo, :api,
partner_password: System.get_env("ZOOMINFO_PASSWORD"),
partner_code: System.get_env("ZOOMINFO_CODE")
- You can now use
ex_zoominfo
as 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:
person
company
usage
Supported query types are:
match
search
detail
query