@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.cjs
CHANGED
|
@@ -100,6 +100,7 @@ __export(index_exports, {
|
|
|
100
100
|
SecNamespace: () => SecNamespace,
|
|
101
101
|
SemrushNamespace: () => SemrushNamespace,
|
|
102
102
|
SeoNamespace: () => SeoNamespace,
|
|
103
|
+
ShopifyNamespace: () => ShopifyNamespace,
|
|
103
104
|
SimilarwebNamespace: () => SimilarwebNamespace,
|
|
104
105
|
SlickdealsNamespace: () => SlickdealsNamespace,
|
|
105
106
|
SnapchatNamespace: () => SnapchatNamespace,
|
|
@@ -3627,7 +3628,7 @@ var GoogleNamespace = class {
|
|
|
3627
3628
|
*
|
|
3628
3629
|
* 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.
|
|
3629
3630
|
*
|
|
3630
|
-
* Price: $0.
|
|
3631
|
+
* Price: $0.0048 per request.
|
|
3631
3632
|
*
|
|
3632
3633
|
* @example
|
|
3633
3634
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -7015,6 +7016,66 @@ var SeoNamespace = class {
|
|
|
7015
7016
|
}
|
|
7016
7017
|
};
|
|
7017
7018
|
|
|
7019
|
+
// src/generated/platforms/shopify.ts
|
|
7020
|
+
var ShopifyNamespace = class {
|
|
7021
|
+
constructor(_core) {
|
|
7022
|
+
this._core = _core;
|
|
7023
|
+
}
|
|
7024
|
+
_core;
|
|
7025
|
+
/**
|
|
7026
|
+
* Shopify Product
|
|
7027
|
+
*
|
|
7028
|
+
* 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.
|
|
7029
|
+
*
|
|
7030
|
+
* Price: $0.00085 per request.
|
|
7031
|
+
*
|
|
7032
|
+
* @example
|
|
7033
|
+
* const res = await client.shopify.product({ product: "mens-strider", store: "allbirds.com" });
|
|
7034
|
+
*/
|
|
7035
|
+
product(input, options) {
|
|
7036
|
+
return this._core.run("shopify.product", input, options);
|
|
7037
|
+
}
|
|
7038
|
+
/**
|
|
7039
|
+
* Shopify Store Products
|
|
7040
|
+
*
|
|
7041
|
+
* 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.
|
|
7042
|
+
*
|
|
7043
|
+
* Price: $0.00085 per request.
|
|
7044
|
+
*
|
|
7045
|
+
* @example
|
|
7046
|
+
* const res = await client.shopify.products({ store: "allbirds.com", limit: 10 });
|
|
7047
|
+
*/
|
|
7048
|
+
products(input, options) {
|
|
7049
|
+
return this._core.run("shopify.products", input, options);
|
|
7050
|
+
}
|
|
7051
|
+
/**
|
|
7052
|
+
* Shopify Store Search
|
|
7053
|
+
*
|
|
7054
|
+
* 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.
|
|
7055
|
+
*
|
|
7056
|
+
* Price: $0.00085 per request.
|
|
7057
|
+
*
|
|
7058
|
+
* @example
|
|
7059
|
+
* const res = await client.shopify.search({ query: "wool", store: "allbirds.com" });
|
|
7060
|
+
*/
|
|
7061
|
+
search(input, options) {
|
|
7062
|
+
return this._core.run("shopify.search", input, options);
|
|
7063
|
+
}
|
|
7064
|
+
/**
|
|
7065
|
+
* Shopify Store Profile
|
|
7066
|
+
*
|
|
7067
|
+
* 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.
|
|
7068
|
+
*
|
|
7069
|
+
* Price: $0.00085 per request.
|
|
7070
|
+
*
|
|
7071
|
+
* @example
|
|
7072
|
+
* const res = await client.shopify.store({ store: "allbirds.com" });
|
|
7073
|
+
*/
|
|
7074
|
+
store(input, options) {
|
|
7075
|
+
return this._core.run("shopify.store", input, options);
|
|
7076
|
+
}
|
|
7077
|
+
};
|
|
7078
|
+
|
|
7018
7079
|
// src/generated/platforms/similarweb.ts
|
|
7019
7080
|
var SimilarwebNamespace = class {
|
|
7020
7081
|
constructor(_core) {
|
|
@@ -10180,6 +10241,14 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
10180
10241
|
this._core
|
|
10181
10242
|
);
|
|
10182
10243
|
}
|
|
10244
|
+
/**
|
|
10245
|
+
* Typed methods for the shopify platform.
|
|
10246
|
+
*/
|
|
10247
|
+
get shopify() {
|
|
10248
|
+
return this._namespaces["shopify"] ??= new ShopifyNamespace(
|
|
10249
|
+
this._core
|
|
10250
|
+
);
|
|
10251
|
+
}
|
|
10183
10252
|
/**
|
|
10184
10253
|
* Typed methods for the similarweb platform.
|
|
10185
10254
|
*/
|
|
@@ -10471,6 +10540,7 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
10471
10540
|
SecNamespace,
|
|
10472
10541
|
SemrushNamespace,
|
|
10473
10542
|
SeoNamespace,
|
|
10543
|
+
ShopifyNamespace,
|
|
10474
10544
|
SimilarwebNamespace,
|
|
10475
10545
|
SlickdealsNamespace,
|
|
10476
10546
|
SnapchatNamespace,
|