G2
G2 — the world's largest B2B software review marketplace. search() runs G2's own site search; getProduct() reads one product's published aggregate rating…
G2 — the world's largest B2B software review marketplace. search() runs G2's own site search; getProduct() reads one product's published aggregate rating and category off its review page.
Domain: g2.com
Also known as: G2, G2.com, G2 Crowd
Call it directly
bowmark.providers.g2.search(args: { query: string }): Promise<G2SearchResult[]>
bowmark.providers.g2.getProduct(args: { url: string } | string): Promise<G2Product>Functions
| Function | What it does |
|---|---|
search | Runs G2's own site search (/search?query=<q>). query is any free-text string — a product name ("slack"), a software category ("project management software"), or a caller's own phrasing… |
getProduct | Reads one product's /products/<slug>/reviews page for its published aggregate rating (out of 10 here — G2 renders a different scale on this page than on search's), review count and… |
Types
interface G2SearchResult {
id: string;
name: string;
url: string;
rating: number | null;
reviewCount: number | null;
}
interface G2Product {
name: string;
url: string;
categories: string[];
rating: number | null;
bestRating: number | null;
reviewCount: number | null;
}