@getanyapi/sdk 0.131.0 → 0.132.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 +71 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +685 -2
- package/dist/index.d.ts +685 -2
- package/dist/index.js +70 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3491,7 +3491,7 @@ var GoogleNamespace = class {
|
|
|
3491
3491
|
*
|
|
3492
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.
|
|
3493
3493
|
*
|
|
3494
|
-
* Price: $0.
|
|
3494
|
+
* Price: $0.0048 per request.
|
|
3495
3495
|
*
|
|
3496
3496
|
* @example
|
|
3497
3497
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -6879,6 +6879,66 @@ var SeoNamespace = class {
|
|
|
6879
6879
|
}
|
|
6880
6880
|
};
|
|
6881
6881
|
|
|
6882
|
+
// src/generated/platforms/shopify.ts
|
|
6883
|
+
var ShopifyNamespace = class {
|
|
6884
|
+
constructor(_core) {
|
|
6885
|
+
this._core = _core;
|
|
6886
|
+
}
|
|
6887
|
+
_core;
|
|
6888
|
+
/**
|
|
6889
|
+
* Shopify Product
|
|
6890
|
+
*
|
|
6891
|
+
* Look up one product on any public Shopify store by its handle or product page URL and get title, vendor, type, tags, description, price range, sale price, stock, images, options and every variant's SKU, price and stock in one normalized response.
|
|
6892
|
+
*
|
|
6893
|
+
* Price: $0.00085 per request.
|
|
6894
|
+
*
|
|
6895
|
+
* @example
|
|
6896
|
+
* const res = await client.shopify.product({ product: "mens-strider", store: "allbirds.com" });
|
|
6897
|
+
*/
|
|
6898
|
+
product(input, options) {
|
|
6899
|
+
return this._core.run("shopify.product", input, options);
|
|
6900
|
+
}
|
|
6901
|
+
/**
|
|
6902
|
+
* Shopify Store Products
|
|
6903
|
+
*
|
|
6904
|
+
* List the products of any public Shopify store by its domain, a page at a time, with title, vendor, type, tags, price range, sale price, stock, images, options and every variant's SKU, price and stock. Filter by vendor, type, tag, title, SKU, price, sale, stock or recent arrivals. A domain that is not a public Shopify store comes back not found.
|
|
6905
|
+
*
|
|
6906
|
+
* Price: $0.00085 per request.
|
|
6907
|
+
*
|
|
6908
|
+
* @example
|
|
6909
|
+
* const res = await client.shopify.products({ store: "allbirds.com", limit: 10 });
|
|
6910
|
+
*/
|
|
6911
|
+
products(input, options) {
|
|
6912
|
+
return this._core.run("shopify.products", input, options);
|
|
6913
|
+
}
|
|
6914
|
+
/**
|
|
6915
|
+
* Shopify Store Search
|
|
6916
|
+
*
|
|
6917
|
+
* Search one public Shopify store's products by keyword with the store's own search and get its top matches with title, vendor, type, tags, price range, sale price, stock and images. A domain that is not a public Shopify store comes back not found.
|
|
6918
|
+
*
|
|
6919
|
+
* Price: $0.00085 per request.
|
|
6920
|
+
*
|
|
6921
|
+
* @example
|
|
6922
|
+
* const res = await client.shopify.search({ query: "wool", store: "allbirds.com" });
|
|
6923
|
+
*/
|
|
6924
|
+
search(input, options) {
|
|
6925
|
+
return this._core.run("shopify.search", input, options);
|
|
6926
|
+
}
|
|
6927
|
+
/**
|
|
6928
|
+
* Shopify Store Profile
|
|
6929
|
+
*
|
|
6930
|
+
* Look up any public Shopify store by its domain and get its name, description, currency, country and city, the countries it ships to, its published product and collection counts and its social links in one normalized response. A domain that is not a public Shopify store comes back not found.
|
|
6931
|
+
*
|
|
6932
|
+
* Price: $0.00085 per request.
|
|
6933
|
+
*
|
|
6934
|
+
* @example
|
|
6935
|
+
* const res = await client.shopify.store({ store: "allbirds.com" });
|
|
6936
|
+
*/
|
|
6937
|
+
store(input, options) {
|
|
6938
|
+
return this._core.run("shopify.store", input, options);
|
|
6939
|
+
}
|
|
6940
|
+
};
|
|
6941
|
+
|
|
6882
6942
|
// src/generated/platforms/similarweb.ts
|
|
6883
6943
|
var SimilarwebNamespace = class {
|
|
6884
6944
|
constructor(_core) {
|
|
@@ -10044,6 +10104,14 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
10044
10104
|
this._core
|
|
10045
10105
|
);
|
|
10046
10106
|
}
|
|
10107
|
+
/**
|
|
10108
|
+
* Typed methods for the shopify platform.
|
|
10109
|
+
*/
|
|
10110
|
+
get shopify() {
|
|
10111
|
+
return this._namespaces["shopify"] ??= new ShopifyNamespace(
|
|
10112
|
+
this._core
|
|
10113
|
+
);
|
|
10114
|
+
}
|
|
10047
10115
|
/**
|
|
10048
10116
|
* Typed methods for the similarweb platform.
|
|
10049
10117
|
*/
|
|
@@ -10334,6 +10402,7 @@ export {
|
|
|
10334
10402
|
SecNamespace,
|
|
10335
10403
|
SemrushNamespace,
|
|
10336
10404
|
SeoNamespace,
|
|
10405
|
+
ShopifyNamespace,
|
|
10337
10406
|
SimilarwebNamespace,
|
|
10338
10407
|
SlickdealsNamespace,
|
|
10339
10408
|
SnapchatNamespace,
|