@getanyapi/sdk 0.130.4 → 0.132.0

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 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,
@@ -6267,7 +6268,7 @@ var RedditNamespace = class {
6267
6268
  *
6268
6269
  * Fetch posts from a subreddit listing (hot, new, or top).
6269
6270
  *
6270
- * Price: $0.00038 per request.
6271
+ * Price: $0.0008 per request.
6271
6272
  *
6272
6273
  * @example
6273
6274
  * const res = await client.reddit.subredditPosts({ subreddit: "programming", limit: 5 });
@@ -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,