scrapebadger 0.15.2 → 0.15.3
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/README.md +1 -1
- package/dist/index.d.cts +21 -1
- package/dist/index.d.ts +21 -1
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3152,6 +3152,16 @@ var ShoppingClient = class {
|
|
|
3152
3152
|
params: { ...params }
|
|
3153
3153
|
});
|
|
3154
3154
|
}
|
|
3155
|
+
/**
|
|
3156
|
+
* Resolve a product by `barcode` (GTIN-8/UPC-A/EAN-13/GTIN-14) and return
|
|
3157
|
+
* its multi-seller Google Shopping offers. Throws on a 422 (invalid or
|
|
3158
|
+
* checksum-failing barcode) or 404 (barcode not resolvable to a product).
|
|
3159
|
+
*/
|
|
3160
|
+
async offers(params) {
|
|
3161
|
+
return this.client.request("/v1/google/shopping/offers", {
|
|
3162
|
+
params: { ...params }
|
|
3163
|
+
});
|
|
3164
|
+
}
|
|
3155
3165
|
};
|
|
3156
3166
|
|
|
3157
3167
|
// src/google/shorts.ts
|