# `GtmToolFinder`
[🔗](https://github.com/jaizendra-netizen/gtm-tool-finder-elixir/blob/main/lib/gtm_tool_finder.ex#L1)

Search the OneGTMLab GTM tool directory (https://www.onegtmlab.dev/tool-directory):
API reviews of sales and marketing tools, head-to-head comparisons and GTM glossary terms.

The index ships inside the package, so it works offline and sends no data anywhere.

    iex> GtmToolFinder.search("apollo", kind: "tool") |> hd() |> Map.get(:url)
    "https://www.onegtmlab.dev/tool-directory/sourcing/apollo-io"

# `all`

Every entry of the directory as a list of maps (name, kind, url, description).

# `kinds`

The page kinds: Tool, Category, Comparison and Glossary.

# `search`

Entries whose name or description contains every word of `query`.

Options: `:kind` (Tool, Category, Comparison or Glossary, case-insensitive) and `:limit` (default 20).

---

*Consult [api-reference.md](api-reference.md) for complete listing*
