GtmToolFinder (gtm_tool_finder v1.0.0)

Copy Markdown View Source

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"

Summary

Functions

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

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

Entries whose name or description contains every word of query.

Functions

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(query \\ "", opts \\ [])

Entries whose name or description contains every word of query.

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