@getanyapi/sdk 0.139.5 → 0.140.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +3 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -428
- package/dist/index.d.ts +4 -428
- package/dist/index.js +3 -16
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1248,7 +1248,7 @@ var AmazonNamespace = class {
|
|
|
1248
1248
|
* Price: $0.00085 per request.
|
|
1249
1249
|
*
|
|
1250
1250
|
* @example
|
|
1251
|
-
* const res = await client.amazon.offers({ product: "
|
|
1251
|
+
* const res = await client.amazon.offers({ product: "B00000IZJB" });
|
|
1252
1252
|
*/
|
|
1253
1253
|
offers(input, options) {
|
|
1254
1254
|
return this._core.run("amazon.offers", input, options);
|
|
@@ -1802,19 +1802,6 @@ var CompanyEnrichmentNamespace = class {
|
|
|
1802
1802
|
crustdata(input, options) {
|
|
1803
1803
|
return this._core.run("company_enrichment.crustdata", input, options);
|
|
1804
1804
|
}
|
|
1805
|
-
/**
|
|
1806
|
-
* Company Enrichment - Crustdata v3 (legacy)
|
|
1807
|
-
*
|
|
1808
|
-
* Enrich a company by domain, name, LinkedIn URL, or Crustdata identifier.
|
|
1809
|
-
*
|
|
1810
|
-
* Price: $0.048 per request.
|
|
1811
|
-
*
|
|
1812
|
-
* @example
|
|
1813
|
-
* const res = await client.companyEnrichment.crustdataV3({ companyDomain: "posthog.com" });
|
|
1814
|
-
*/
|
|
1815
|
-
crustdataV3(input, options) {
|
|
1816
|
-
return this._core.run("company_enrichment.crustdata_v3", input, options);
|
|
1817
|
-
}
|
|
1818
1805
|
/**
|
|
1819
1806
|
* Company Enrichment - Data Legion
|
|
1820
1807
|
*
|
|
@@ -3504,7 +3491,7 @@ var GoogleNamespace = class {
|
|
|
3504
3491
|
*
|
|
3505
3492
|
* Ask Google Search a prompt and receive the AI Overview it generated for that scrape, with every source Google listed. Google regenerates the overview per search, so the same prompt can return different wording and a different source list.
|
|
3506
3493
|
*
|
|
3507
|
-
* Price: $0.
|
|
3494
|
+
* Price: $0.0015 per request.
|
|
3508
3495
|
*
|
|
3509
3496
|
* @example
|
|
3510
3497
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -3663,7 +3650,7 @@ var GoogleNamespace = class {
|
|
|
3663
3650
|
*
|
|
3664
3651
|
* Run a Google web search and get the organic results (title, link, snippet, position) as clean JSON. Returns about 10 results per call - Google stopped honoring bulk result counts in September 2025, so a limit above 10 is accepted but returns no more than a page. Send page 2, 3, ... to walk further, or use google.search_100 for up to 100 ranked results in one call, which is normally cheaper past roughly 20 results.
|
|
3665
3652
|
*
|
|
3666
|
-
* Price: $0.
|
|
3653
|
+
* Price: $0.0005 per request.
|
|
3667
3654
|
*
|
|
3668
3655
|
* @example
|
|
3669
3656
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|