Rand Stats

GTM::ToolFinder

zef:onegtmlab

GTM::ToolFinder

A small Raku client and command-line tool for the free, read-only GTM Tool Finder API, which serves the public OneGTMLab GTM tool directory: API reviews of sales and marketing tools, head-to-head comparisons and plain-English glossary terms. No API key, no sign-up.

Use

use GTM::ToolFinder;

my $c = GTM::ToolFinder.new;

my ($entries, $total) = $c.search(q => 'enrichment', kind => 'tool', limit => 5);
say "{.<name>}  {.<url>}" for $entries.list;

say $c.get-entry('attio')<description>;      # dies with "HTTP 404 ..." for an unknown id
say .<slug> for $c.categories;

Command line

gtm-tool-finder apollo
gtm-tool-finder --kind=comparison --limit=5 clay
gtm-tool-finder --categories
gtm-tool-finder --get=attio --json

Exit codes: 0 results, 1 no results, 2 error.

Install and test

zef install GTM::ToolFinder
prove6 -l t/        # or: raku t/01-client.rakutest

The tests call the live API, so they need an internet connection.

API

GET /tools?q=&kind=&category=&limit=&offset= (kind is tool, category, comparison or glossary; limit 1 to 100), GET /tools/{id}, GET /categories, GET /openapi.json.

Built by OneGTMLab, a GTM engineering agency. MIT licensed.