Skip to content

bhumanai/enrichanything-public-api-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

enrichanything-public-api

Thin Node client for EnrichAnything's public API.

Use it when you want published market scans or report summaries as JSON without hand-rolling URLs.

Install

npm install enrichanything-public-api

Usage

import { EnrichAnythingClient } from "enrichanything-public-api";

const client = new EnrichAnythingClient();

const market = await client.getMarket("shopify-france-klaviyo-no-sms");
console.log(market.title);
console.log(market.sampleRows[0]);

const report = await client.getReport("france-klaviyo-sms-gap");
console.log(report.citationText);

API

new EnrichAnythingClient(options)

  • baseUrl: defaults to https://www.enrichanything.com
  • fetch: optional custom fetch implementation

client.getMarket(slug)

  • Calls GET /api/public-market?slug=...

client.getReport(slug)

  • Calls GET /api/public-report?slug=...

getPublicMarket(slug, options) and getPublicReport(slug, options) are convenience helpers if you do not want to instantiate the client.

Docs

Notes

  • These are public, read-only endpoints.
  • The package only wraps published market scans and report summaries.
  • Service behavior is still governed by EnrichAnything's site terms.

About

Thin Node client for EnrichAnything public market scans and report summaries.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors