n8n-nodes-scavio 0.36.0 → 0.37.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/README.md +14 -1
- package/dist/nodes/Scavio/Scavio.node.js +5 -1
- package/dist/nodes/Scavio/Scavio.node.js.map +1 -1
- package/dist/nodes/Scavio/descriptions/BestBuyDescription.d.ts +3 -0
- package/dist/nodes/Scavio/descriptions/BestBuyDescription.js +409 -0
- package/dist/nodes/Scavio/descriptions/BestBuyDescription.js.map +1 -0
- package/dist/nodes/Scavio/version.d.ts +1 -1
- package/dist/nodes/Scavio/version.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
This is an n8n community node. It lets you use [Scavio](https://scavio.dev?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) — a real-time structured-data API for search, AI assistant answers, retail, social, travel, real estate, jobs, app stores, software reviews, ad libraries, public company filings, and any URL — in your n8n workflows.
|
|
4
4
|
|
|
5
|
-
Scavio returns clean, structured JSON from
|
|
5
|
+
Scavio returns clean, structured JSON from 74 resources and 499 operations. Use it to power product research, price and review monitoring, AI agent retrieval, lead enrichment, competitive and ad intelligence, and content workflows.
|
|
6
6
|
|
|
7
7
|
[Installation](#installation) - [Operations](#operations) - [What changed in 0.13.0](#what-changed-in-0130) - [Per-resource notes](#per-resource-notes) - [Templates](#templates) - [Credentials](#credentials) - [Compatibility](#compatibility) - [Resources](#resources)
|
|
8
8
|
|
|
@@ -49,6 +49,7 @@ In n8n: **Settings -> Community Nodes -> Install** -> enter `n8n-nodes-scavio`.
|
|
|
49
49
|
| [Menards](https://scavio.dev/docs/menards-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | Search Products 2; Get Product 1, 2 with a Store ID; Find Stores 1 | Search Products, Get Product, Find Stores |
|
|
50
50
|
| [Nordstrom](https://scavio.dev/docs/nordstrom-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 5; Get Availability and Get Reviews 10 | Search Products, Get Product, Get Reviews, Get Category Products, Get Brand Products, Find Stores, Get Availability, Get Search Suggestions |
|
|
51
51
|
| [Nordstrom Rack](https://scavio.dev/docs/nordstromrack-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 5; Get Availability and Get Reviews 10 | Search Products, Get Product, Get Reviews, Get Category Products, Get Brand Products, Find Stores, Get Availability, Get Search Suggestions |
|
|
52
|
+
| [Best Buy](https://scavio.dev/docs/bestbuy-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 2; Get Category Products 3 on a pcmcat page; Get Deal of the Day 3; Find Stores and Get Search Suggestions 1 | Search Products, Get Product, Get Reviews, Get Category Products, Get Deal of the Day, Find Stores, Get Availability, Get Search Suggestions, Get Prices |
|
|
52
53
|
| [Mercado Libre (MX, BR, AR, CO)](https://scavio.dev/docs/mercadolibre-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 2; Get Reviews 1 | Search Listings, Get Product, Get Reviews, Get Questions, Get Best Sellers |
|
|
53
54
|
|
|
54
55
|
### Social and video
|
|
@@ -106,6 +107,18 @@ In n8n: **Settings -> Community Nodes -> Install** -> enter `n8n-nodes-scavio`.
|
|
|
106
107
|
| [Extract (Any URL)](https://scavio.dev/docs/extract?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1 normal, 1 advanced, 2 ultra; crawl and batch bill that per successful page; Map Website 1; status and cancel free | Extract Page, Map Website, Start Crawl, Get Crawl Status, Cancel Crawl, Start Batch, Get Batch Status, Cancel Batch, Screenshot |
|
|
107
108
|
| Account | Free | Get Usage |
|
|
108
109
|
|
|
110
|
+
## What changed in 0.37.0
|
|
111
|
+
|
|
112
|
+
**New resource: Best Buy, 9 operations.** bestbuy.com, US site only. Credits: Search Products, Get Product, Get Reviews and Get Prices 2; Get Category Products 2 for an abcat ID and 3 for a pcmcat page; Get Deal of the Day 3; Find Stores and Get Search Suggestions 1; Get Availability 2 flat. Nothing else changed.
|
|
113
|
+
|
|
114
|
+
- **Search Products** and **Get Category Products** return 18 organic products per page with filters for brand, on sale, clearance, open box and a price range (set Min Price and Max Price together). Sponsored tiles only with Include Sponsored.
|
|
115
|
+
- **Get Product** returns every open-box offer by condition (fair, good, excellent) with savings against new and against the regular price, plus UPC, model and the full spec table.
|
|
116
|
+
- **Get Availability** returns store pickup status at up to 8 stores (nearest a ZIP code, or the store IDs you pass): in_stock, limited, ship_to_store, out_of_stock, not_available_for_pickup or unknown. Quantity is set only for limited (Best Buy's "only N left") and is null for in_stock.
|
|
117
|
+
- **Get Prices** takes up to 15 SKUs in one call, 2 credits whatever the count.
|
|
118
|
+
- **Get Deal of the Day** takes no parameters: today's deal plus the more-deals row, up to 15 products.
|
|
119
|
+
|
|
120
|
+
Every operation carries a 120-second request timeout.
|
|
121
|
+
|
|
109
122
|
## What changed in 0.36.0
|
|
110
123
|
|
|
111
124
|
**New resource: Nordstrom Rack, 8 operations.** nordstromrack.com, US site only, a separate resource from Nordstrom with the same operations, fields and credits: 5 each, Get Availability and Get Reviews 10. Nothing else changed.
|
|
@@ -41,6 +41,7 @@ const ChewyDescription_1 = require("./descriptions/ChewyDescription");
|
|
|
41
41
|
const MenardsDescription_1 = require("./descriptions/MenardsDescription");
|
|
42
42
|
const NordstromDescription_1 = require("./descriptions/NordstromDescription");
|
|
43
43
|
const NordstromRackDescription_1 = require("./descriptions/NordstromRackDescription");
|
|
44
|
+
const BestBuyDescription_1 = require("./descriptions/BestBuyDescription");
|
|
44
45
|
const ZillowDescription_1 = require("./descriptions/ZillowDescription");
|
|
45
46
|
const BookingDescription_1 = require("./descriptions/BookingDescription");
|
|
46
47
|
const TripadvisorDescription_1 = require("./descriptions/TripadvisorDescription");
|
|
@@ -83,7 +84,7 @@ class Scavio {
|
|
|
83
84
|
group: ['transform'],
|
|
84
85
|
version: 1,
|
|
85
86
|
subtitle: '={{ $parameter["operation"] + ": " + $parameter["resource"] }}',
|
|
86
|
-
description: 'Real-time structured data from Google, ChatGPT, Gemini, Amazon, Walmart, eBay, Target, Home Depot, Costco, HEB, Kroger, Decathlon, Spec\'s, Lowe\'s, Sam\'s Club, Canadian Tire, Dollar General, Sephora, Ulta Beauty, ALDI, Micro Center, Walgreens, CVS, Whole Foods Market, Harbor Freight, PetSmart, Petco, iHerb, Chewy, Menards, Nordstrom, Nordstrom Rack, Mercado Libre, YouTube, Reddit, TikTok, Instagram, X, LinkedIn, Facebook, Pinterest, Threads, Kuaishou, Douyin, Weibo, Twitch, GitHub, Etsy, AliExpress, Zillow, Redfin, Realtor.com, Rightmove, Booking.com, Airbnb, Tripadvisor, Yelp, Indeed, Glassdoor, the App Store, Google Play, SEC EDGAR, Companies House, Legistar, G2, Capterra, Trustpilot, ad libraries, and any URL',
|
|
87
|
+
description: 'Real-time structured data from Google, ChatGPT, Gemini, Amazon, Walmart, eBay, Target, Home Depot, Costco, HEB, Kroger, Decathlon, Spec\'s, Lowe\'s, Sam\'s Club, Canadian Tire, Dollar General, Sephora, Ulta Beauty, ALDI, Micro Center, Walgreens, CVS, Whole Foods Market, Harbor Freight, PetSmart, Petco, iHerb, Chewy, Menards, Nordstrom, Nordstrom Rack, Best Buy, Mercado Libre, YouTube, Reddit, TikTok, Instagram, X, LinkedIn, Facebook, Pinterest, Threads, Kuaishou, Douyin, Weibo, Twitch, GitHub, Etsy, AliExpress, Zillow, Redfin, Realtor.com, Rightmove, Booking.com, Airbnb, Tripadvisor, Yelp, Indeed, Glassdoor, the App Store, Google Play, SEC EDGAR, Companies House, Legistar, G2, Capterra, Trustpilot, ad libraries, and any URL',
|
|
87
88
|
defaults: { name: 'Scavio' },
|
|
88
89
|
inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
89
90
|
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
@@ -112,6 +113,7 @@ class Scavio {
|
|
|
112
113
|
{ name: 'AliExpress', value: 'aliexpress' },
|
|
113
114
|
{ name: 'Amazon', value: 'amazon' },
|
|
114
115
|
{ name: 'Apple App Store', value: 'appStore' },
|
|
116
|
+
{ name: 'Best Buy', value: 'bestBuy' },
|
|
115
117
|
{ name: 'Booking.com', value: 'booking' },
|
|
116
118
|
{ name: 'Canadian Tire', value: 'canadianTire' },
|
|
117
119
|
{ name: 'Capterra (Software Reviews)', value: 'capterra' },
|
|
@@ -256,6 +258,8 @@ class Scavio {
|
|
|
256
258
|
...NordstromDescription_1.nordstromFields,
|
|
257
259
|
...NordstromRackDescription_1.nordstromRackOperations,
|
|
258
260
|
...NordstromRackDescription_1.nordstromRackFields,
|
|
261
|
+
...BestBuyDescription_1.bestBuyOperations,
|
|
262
|
+
...BestBuyDescription_1.bestBuyFields,
|
|
259
263
|
...MercadoLibreDescription_1.mercadoLibreOperations,
|
|
260
264
|
...MercadoLibreDescription_1.mercadoLibreFields,
|
|
261
265
|
...YouTubeDescription_1.youtubeOperations,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Scavio.node.js","sourceRoot":"","sources":["../../../nodes/Scavio/Scavio.node.ts"],"names":[],"mappings":";;;AAAA,+CAAmD;AAGnD,wEAAkF;AAClF,wEAAkF;AAClF,0EAAqF;AACrF,0EAAqF;AACrF,wEAAkF;AAClF,wEAAkF;AAClF,gFAA8F;AAC9F,8EAA2F;AAC3F,8DAAmE;AACnE,4EAAwF;AACxF,0EAAqF;AACrF,4EAAwF;AACxF,oEAA4E;AAC5E,wEAAkF;AAClF,8EAA2F;AAC3F,wEAAkF;AAClF,kEAAyE;AACzE,wEAAkF;AAClF,8EAA2F;AAC3F,sEAA+E;AAC/E,sEAA+E;AAC/E,4EAAwF;AACxF,oFAGgD;AAChD,sFAGiD;AACjD,0EAAqF;AACrF,oEAA4E;AAC5E,oEAA4E;AAC5E,kFAAiG;AACjG,8EAA2F;AAC3F,kEAAyE;AACzE,gFAA8F;AAC9F,sFAGiD;AACjD,4EAAwF;AACxF,sEAA+E;AAC/E,sEAA+E;AAC/E,sEAA+E;AAC/E,0EAAqF;AACrF,8EAA2F;AAC3F,sFAGiD;AACjD,wEAAkF;AAClF,0EAAqF;AACrF,kFAAiG;AACjG,wEAAkF;AAClF,wEAAkF;AAClF,8EAA2F;AAC3F,oEAA4E;AAC5E,4EAAwF;AACxF,gFAA8F;AAC9F,kEAAyE;AACzE,wEAAkF;AAClF,0EAAqF;AACrF,8EAA2F;AAC3F,oFAGgD;AAChD,wFAGkD;AAClD,gEAAsE;AACtE,4EAAwF;AACxF,gFAA8F;AAC9F,wEAK0C;AAC1C,8EAA2F;AAC3F,0EAAqF;AACrF,0EAAqF;AACrF,0EAAqF;AACrF,gFAA8F;AAC9F,wEAAkF;AAClF,oEAA4E;AAC5E,4EAAwF;AACxF,wEAAkF;AAClF,4EAAwF;AACxF,8EAA2F;AAC3F,wEAAkF;AAClF,sEAA+E;AAC/E,4EAAwF;AACxF,uCAAiD;AAEjD,MAAa,MAAM;IAClB,WAAW,GAAyB;QACnC,WAAW,EAAE,QAAQ;QACrB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,iBAAiB;QACvB,KAAK,EAAE,CAAC,WAAW,CAAC;QACpB,OAAO,EAAE,CAAC;QACV,QAAQ,EAAE,gEAAgE;QAC1E,WAAW,EACV
|
|
1
|
+
{"version":3,"file":"Scavio.node.js","sourceRoot":"","sources":["../../../nodes/Scavio/Scavio.node.ts"],"names":[],"mappings":";;;AAAA,+CAAmD;AAGnD,wEAAkF;AAClF,wEAAkF;AAClF,0EAAqF;AACrF,0EAAqF;AACrF,wEAAkF;AAClF,wEAAkF;AAClF,gFAA8F;AAC9F,8EAA2F;AAC3F,8DAAmE;AACnE,4EAAwF;AACxF,0EAAqF;AACrF,4EAAwF;AACxF,oEAA4E;AAC5E,wEAAkF;AAClF,8EAA2F;AAC3F,wEAAkF;AAClF,kEAAyE;AACzE,wEAAkF;AAClF,8EAA2F;AAC3F,sEAA+E;AAC/E,sEAA+E;AAC/E,4EAAwF;AACxF,oFAGgD;AAChD,sFAGiD;AACjD,0EAAqF;AACr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,GAAG,gDAAoB;YACvB,GAAG,4BAAY;YACf,GAAG,wBAAQ;YACX,GAAG,wCAAkB;YACrB,GAAG,oCAAc;YACjB,GAAG,4CAAoB;YACvB,GAAG,wCAAgB;YACnB,GAAG,qCAAiB;YACpB,GAAG,iCAAa;YAChB,GAAG,oCAAgB;YACnB,GAAG,gCAAY;YACf,GAAG,0CAAmB;YACtB,GAAG,sCAAe;YAClB,GAAG,sCAAiB;YACpB,GAAG,kCAAa;YAChB,GAAG,wCAAkB;YACrB,GAAG,oCAAc;YACjB,GAAG,4CAAoB;YACvB,GAAG,wCAAgB;YACnB,GAAG,oCAAgB;YACnB,GAAG,gCAAY;YACf,GAAG,gCAAc;YACjB,GAAG,4BAAU;YACb,GAAG,wCAAkB;YACrB,GAAG,oCAAc;YACjB,GAAG,oCAAgB;YACnB,GAAG,gCAAY;YACf,GAAG,wCAAkB;YACrB,GAAG,oCAAc;YACjB,GAAG,0CAAmB;YACtB,GAAG,sCAAe;YAClB,GAAG,oCAAgB;YACnB,GAAG,gCAAY;YACf,GAAG,kCAAe;YAClB,GAAG,8BAAW;YACd,GAAG,sCAAiB;YACpB,GAAG,kCAAa;YAChB,GAAG,sCAAiB;YACpB,GAAG,kCAAa;SAChB;KACD,CAAC;CACF;AAjRD,wBAiRC"}
|
|
@@ -0,0 +1,409 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.bestBuyFields = exports.bestBuyOperations = void 0;
|
|
4
|
+
const show = (operation, extra = {}) => ({
|
|
5
|
+
show: { resource: ['bestBuy'], operation, ...extra },
|
|
6
|
+
});
|
|
7
|
+
// Best Buy (bestbuy.com, US only), 9 operations. Credits: Search Products, Get Product,
|
|
8
|
+
// Get Reviews and Get Prices 2; Get Category Products 2 for an abcat ID, 3 for a pcmcat
|
|
9
|
+
// page; Get Deal of the Day 3; Find Stores and Get Search Suggestions 1; Get Availability
|
|
10
|
+
// 2 flat. Every route carries a 120s timeout (Get Availability typically takes 5-20 s).
|
|
11
|
+
const request = (url, timeout = 120000) => ({
|
|
12
|
+
request: { method: 'POST', url, timeout },
|
|
13
|
+
});
|
|
14
|
+
const splitList = '={{ String($value).split(",").map(s => s.trim()).filter(Boolean) }}';
|
|
15
|
+
const TILE_FIELDS = 'Each product has SKU, BSIN, name, brand, model number, URL, image, price, regular price, savings in dollars and percent, on-sale flag, deal badge (e.g. Clearance, Holiday Deal), condition (new, refurbished excellent...), rating, review count, seller type (best_buy or marketplace), product type, badges and release date. Also returns the total result count and page count, the applied sort and filters, the category, the filter sidebar (every facet with its values and product counts; category_facet values carry category IDs), the sort options, related searches and any spelling correction. Sponsored tiles are left out unless Include Sponsored is on.';
|
|
16
|
+
// Listing options shared by Search Products and Get Category Products.
|
|
17
|
+
const listingOptions = (sorts, sortDefault, sortDescription) => [
|
|
18
|
+
{
|
|
19
|
+
displayName: 'Brand',
|
|
20
|
+
name: 'brand',
|
|
21
|
+
type: 'string',
|
|
22
|
+
default: '',
|
|
23
|
+
placeholder: 'Samsung',
|
|
24
|
+
description: 'Only this brand, as spelled in the Brand filter (a brand_facet value)',
|
|
25
|
+
routing: { request: { body: { filters: { brand: '={{ $value || undefined }}' } } } },
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
displayName: 'Clearance Only',
|
|
29
|
+
name: 'clearance',
|
|
30
|
+
type: 'boolean',
|
|
31
|
+
default: false,
|
|
32
|
+
description: 'Whether to return only clearance products',
|
|
33
|
+
routing: { request: { body: { filters: { clearance: '={{ $value || undefined }}' } } } },
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
displayName: 'Include Sponsored',
|
|
37
|
+
name: 'include_sponsored',
|
|
38
|
+
type: 'boolean',
|
|
39
|
+
default: false,
|
|
40
|
+
description: 'Whether to include the sponsored tiles Best Buy mixes into the grid (flagged sponsored: true with position null)',
|
|
41
|
+
routing: { request: { body: { include_sponsored: '={{ $value }}' } } },
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
displayName: 'Max Price',
|
|
45
|
+
name: 'max_price',
|
|
46
|
+
type: 'number',
|
|
47
|
+
default: 0,
|
|
48
|
+
typeOptions: { minValue: 0 },
|
|
49
|
+
description: 'Highest price in dollars. Set Min Price too: both bounds are required.',
|
|
50
|
+
routing: { request: { body: { filters: { max_price: '={{ $value }}' } } } },
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
displayName: 'Min Price',
|
|
54
|
+
name: 'min_price',
|
|
55
|
+
type: 'number',
|
|
56
|
+
default: 0,
|
|
57
|
+
typeOptions: { minValue: 0 },
|
|
58
|
+
description: 'Lowest price in dollars. Set Max Price too: both bounds are required.',
|
|
59
|
+
routing: { request: { body: { filters: { min_price: '={{ $value }}' } } } },
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
displayName: 'On Sale Only',
|
|
63
|
+
name: 'on_sale',
|
|
64
|
+
type: 'boolean',
|
|
65
|
+
default: false,
|
|
66
|
+
description: 'Whether to return only products on sale',
|
|
67
|
+
routing: { request: { body: { filters: { on_sale: '={{ $value || undefined }}' } } } },
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
displayName: 'Open Box Only',
|
|
71
|
+
name: 'open_box',
|
|
72
|
+
type: 'boolean',
|
|
73
|
+
default: false,
|
|
74
|
+
description: 'Whether to return only products with an open-box offer',
|
|
75
|
+
routing: { request: { body: { filters: { open_box: '={{ $value || undefined }}' } } } },
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
displayName: 'Page',
|
|
79
|
+
name: 'page',
|
|
80
|
+
type: 'number',
|
|
81
|
+
default: 1,
|
|
82
|
+
typeOptions: { minValue: 1, maxValue: 100 },
|
|
83
|
+
description: 'Results page, 1-based, up to 100. Defaults to 1. 18 products per page.',
|
|
84
|
+
routing: { request: { body: { page: '={{ $value }}' } } },
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
displayName: 'Sort',
|
|
88
|
+
name: 'sort',
|
|
89
|
+
type: 'options',
|
|
90
|
+
default: sortDefault,
|
|
91
|
+
options: sorts,
|
|
92
|
+
description: sortDescription,
|
|
93
|
+
routing: { request: { body: { sort: '={{ $value }}' } } },
|
|
94
|
+
},
|
|
95
|
+
];
|
|
96
|
+
const CATEGORY_SORTS = [
|
|
97
|
+
{ name: 'Best Discount', value: 'best_discount' },
|
|
98
|
+
{ name: 'Best Selling', value: 'best_selling' },
|
|
99
|
+
{ name: 'Customer Rating', value: 'rating' },
|
|
100
|
+
{ name: 'Newest', value: 'newest' },
|
|
101
|
+
{ name: 'Price: High to Low', value: 'price_high' },
|
|
102
|
+
{ name: 'Price: Low to High', value: 'price_low' },
|
|
103
|
+
];
|
|
104
|
+
const SEARCH_SORTS = [
|
|
105
|
+
{ name: 'Best Discount', value: 'best_discount' },
|
|
106
|
+
{ name: 'Best Match', value: 'best_match' },
|
|
107
|
+
{ name: 'Best Selling', value: 'best_selling' },
|
|
108
|
+
{ name: 'Customer Rating', value: 'rating' },
|
|
109
|
+
{ name: 'Newest', value: 'newest' },
|
|
110
|
+
{ name: 'Price: High to Low', value: 'price_high' },
|
|
111
|
+
{ name: 'Price: Low to High', value: 'price_low' },
|
|
112
|
+
];
|
|
113
|
+
exports.bestBuyOperations = [
|
|
114
|
+
{
|
|
115
|
+
displayName: 'Operation',
|
|
116
|
+
name: 'operation',
|
|
117
|
+
type: 'options',
|
|
118
|
+
noDataExpression: true,
|
|
119
|
+
displayOptions: { show: { resource: ['bestBuy'] } },
|
|
120
|
+
options: [
|
|
121
|
+
{
|
|
122
|
+
name: 'Find Stores',
|
|
123
|
+
value: 'stores',
|
|
124
|
+
action: 'Find best buy stores',
|
|
125
|
+
description: 'Best Buy stores near a US ZIP code, nearest first (up to 15): store ID, name, address, city, state, ZIP, phone, open status, store type, distance in miles, and dated opening hours for the next 35 days (holiday hours and closed days included). Use a store ID with Get Availability. Costs 1 credit.',
|
|
126
|
+
routing: request('/api/v1/bestbuy/stores'),
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
name: 'Get Availability',
|
|
130
|
+
value: 'availability',
|
|
131
|
+
action: 'Get best buy store pickup availability',
|
|
132
|
+
description: 'Store pickup availability of one bestbuy.com SKU at up to 8 stores: the stores nearest a ZIP code or the store IDs you pass. Each store has a status: in_stock, limited (with the real quantity when Best Buy shows "only N left"), ship_to_store (not on the shelf; can be shipped there for pickup by the pickup date), out_of_stock, not_available_for_pickup, or unknown (with a reason; never reported as out of stock). Also the pickup date, the minimum hours until pickup, and the nearby store Best Buy suggests when this one cannot fill it. Best Buy does not publish unit counts for well-stocked items, so quantity is null for in_stock. Takes 5-20s. Costs 2 credits flat.',
|
|
133
|
+
routing: request('/api/v1/bestbuy/availability'),
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
name: 'Get Category Products',
|
|
137
|
+
value: 'category',
|
|
138
|
+
action: 'Get best buy category products',
|
|
139
|
+
description: 'Browse a bestbuy.com (US) category or deals page by category ID or URL, 18 products per page, sorted by best selling, best discount, price, rating or newest, with the same filters as Search Products. Works on catalogue categories (abcat0101001 All Flat-Screen TVs) and merchandised pages such as All Electronics on Sale (pcmcat1674241939957), whose built-in filters are read from the page itself. ' +
|
|
140
|
+
TILE_FIELDS +
|
|
141
|
+
' An unknown category, or a page without a product grid, is an error. Costs 2 credits for an abcat ID and 3 for a pcmcat page.',
|
|
142
|
+
routing: request('/api/v1/bestbuy/category'),
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
name: 'Get Deal of the Day',
|
|
146
|
+
value: 'deals',
|
|
147
|
+
action: 'Get the best buy deal of the day',
|
|
148
|
+
description: "Today's Best Buy Deal of the Day and the more-deals row under it, with live prices: SKU, name, URL, image, rating, review count, price, regular price, savings in dollars and percent, on-sale flag and deal badge, plus the countdown end as the page shows it. Up to 15 products. No parameters. Costs 3 credits.",
|
|
149
|
+
routing: {
|
|
150
|
+
request: { method: 'POST', url: '/api/v1/bestbuy/deals', timeout: 120000, body: {} },
|
|
151
|
+
},
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
name: 'Get Prices',
|
|
155
|
+
value: 'prices',
|
|
156
|
+
action: 'Get best buy prices for up to 15 skus',
|
|
157
|
+
description: 'Current bestbuy.com prices for up to 15 SKUs in one call: price, regular price, savings in dollars and percent, on-sale flag, deal badge and deal end time per SKU. A SKU Best Buy does not know comes back found: false; all unknown is an error. Costs 2 credits per call, whatever the number of SKUs.',
|
|
158
|
+
routing: request('/api/v1/bestbuy/prices'),
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
name: 'Get Product',
|
|
162
|
+
value: 'product',
|
|
163
|
+
action: 'Get a best buy product',
|
|
164
|
+
description: "One bestbuy.com (US) product by SKU or URL: name, brand, model, UPC, URL, status, condition, product type, category path, price, regular price, savings, on-sale flag, deal badge, financing offer, every open-box offer by condition (fair, good, excellent) with its price, savings against new and against the regular price, other sellers' and conditions' SKUs of the same product, rating, review count, the AI review summary and what customers love, description, feature list, what's included, the full specification table by group, dimensions, full-size images, manuals and badges. An unknown SKU is an error. Costs 2 credits.",
|
|
165
|
+
routing: request('/api/v1/bestbuy/product'),
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
name: 'Get Reviews',
|
|
169
|
+
value: 'reviews',
|
|
170
|
+
action: 'Get best buy product reviews',
|
|
171
|
+
description: "Customer reviews of one bestbuy.com (US) product by SKU or URL, 20 per page, sorted most relevant (default), most helpful, newest, oldest, highest or lowest rated, optionally only one star rating. Returns the review summary (average rating, review count, recommended percent, star histogram, the most mentioned pros and cons with mention counts), total_results for the filter, page count and has_more. Each review has ID, title, text, rating, author, date, recommended flag, verified-purchase and incentivized flags, days of ownership, helpful and not-helpful votes, badges, photos, the site it was syndicated from and the brand's response. Costs 2 credits.",
|
|
172
|
+
routing: request('/api/v1/bestbuy/reviews'),
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
name: 'Get Search Suggestions',
|
|
176
|
+
value: 'suggestions',
|
|
177
|
+
action: 'Get best buy search suggestions',
|
|
178
|
+
description: 'The bestbuy.com search-box autocomplete for a partial query (e.g. "ps5 con"): suggested search terms, each with the categories (ID and name) and SKUs Best Buy shows for it, plus any spelling correction. Costs 1 credit.',
|
|
179
|
+
routing: request('/api/v1/bestbuy/suggestions'),
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
name: 'Search Products',
|
|
183
|
+
value: 'search',
|
|
184
|
+
action: 'Search best buy products',
|
|
185
|
+
description: 'Search bestbuy.com (US), 18 products per page, sorted by best match, best selling, best discount, price, rating or newest, filtered by brand, on sale, clearance, open box or a price range. ' +
|
|
186
|
+
TILE_FIELDS +
|
|
187
|
+
' Use a result SKU with Get Product, Get Reviews, Get Availability or Get Prices. Costs 2 credits.',
|
|
188
|
+
routing: request('/api/v1/bestbuy/search'),
|
|
189
|
+
},
|
|
190
|
+
],
|
|
191
|
+
default: 'search',
|
|
192
|
+
},
|
|
193
|
+
];
|
|
194
|
+
exports.bestBuyFields = [
|
|
195
|
+
// -- Search Products --
|
|
196
|
+
{
|
|
197
|
+
displayName: 'Query',
|
|
198
|
+
name: 'query',
|
|
199
|
+
type: 'string',
|
|
200
|
+
required: true,
|
|
201
|
+
default: '',
|
|
202
|
+
placeholder: 'tv',
|
|
203
|
+
displayOptions: show(['search']),
|
|
204
|
+
routing: { request: { body: { query: '={{ $value }}' } } },
|
|
205
|
+
description: 'Search keywords',
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
displayName: 'Additional Options',
|
|
209
|
+
name: 'searchOptions',
|
|
210
|
+
type: 'collection',
|
|
211
|
+
placeholder: 'Add Option',
|
|
212
|
+
default: {},
|
|
213
|
+
displayOptions: show(['search']),
|
|
214
|
+
options: listingOptions(SEARCH_SORTS, 'best_match', 'Best match (default), best selling, best discount, price, customer rating or newest'),
|
|
215
|
+
},
|
|
216
|
+
// -- Get Category Products --
|
|
217
|
+
{
|
|
218
|
+
displayName: 'Category ID',
|
|
219
|
+
name: 'category_id',
|
|
220
|
+
type: 'string',
|
|
221
|
+
default: '',
|
|
222
|
+
placeholder: 'abcat0101001',
|
|
223
|
+
displayOptions: show(['category']),
|
|
224
|
+
routing: { request: { body: { category_id: '={{ $value || undefined }}' } } },
|
|
225
|
+
description: 'Best Buy category ID: abcat... (catalogue categories, e.g. abcat0101001 All Flat-Screen TVs) or pcmcat... (merchandised pages, e.g. pcmcat1674241939957 All Electronics on Sale). A search result lists category IDs under category_facet. Use this or Category URL.',
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
displayName: 'Category URL',
|
|
229
|
+
name: 'url',
|
|
230
|
+
type: 'string',
|
|
231
|
+
default: '',
|
|
232
|
+
placeholder: 'https://www.bestbuy.com/site/tvs/all-flat-screen-tvs/abcat0101001.c',
|
|
233
|
+
displayOptions: show(['category']),
|
|
234
|
+
routing: { request: { body: { url: '={{ $value || undefined }}' } } },
|
|
235
|
+
description: 'A bestbuy.com category page URL. Filters in the URL (qp=...) are kept; its sort is not, use Sort. Used when Category ID is not given.',
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
displayName: 'Additional Options',
|
|
239
|
+
name: 'categoryOptions',
|
|
240
|
+
type: 'collection',
|
|
241
|
+
placeholder: 'Add Option',
|
|
242
|
+
default: {},
|
|
243
|
+
displayOptions: show(['category']),
|
|
244
|
+
options: listingOptions(CATEGORY_SORTS, 'best_selling', 'Best selling (the default on most pages), best discount, price, customer rating or newest'),
|
|
245
|
+
},
|
|
246
|
+
// -- Get Product / Get Reviews / Get Availability --
|
|
247
|
+
{
|
|
248
|
+
displayName: 'SKU',
|
|
249
|
+
name: 'sku',
|
|
250
|
+
type: 'string',
|
|
251
|
+
default: '',
|
|
252
|
+
placeholder: '6607832',
|
|
253
|
+
displayOptions: show(['product', 'reviews', 'availability']),
|
|
254
|
+
routing: { request: { body: { sku: '={{ $value || undefined }}' } } },
|
|
255
|
+
description: 'Best Buy SKU, the number after /sku/ in a product URL (the sku of a search result). Use this or Product URL.',
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
displayName: 'Product URL',
|
|
259
|
+
name: 'url',
|
|
260
|
+
type: 'string',
|
|
261
|
+
default: '',
|
|
262
|
+
placeholder: 'https://www.bestbuy.com/site/insignia-55-class-f50-series-led-4k-uhd-smart-fire-tv/6607832.p?skuId=6607832',
|
|
263
|
+
displayOptions: show(['product', 'reviews', 'availability']),
|
|
264
|
+
routing: { request: { body: { url: '={{ $value || undefined }}' } } },
|
|
265
|
+
description: 'A bestbuy.com product URL that names a SKU. Used when SKU is not given.',
|
|
266
|
+
},
|
|
267
|
+
// -- Get Reviews --
|
|
268
|
+
{
|
|
269
|
+
displayName: 'Additional Options',
|
|
270
|
+
name: 'reviewsOptions',
|
|
271
|
+
type: 'collection',
|
|
272
|
+
placeholder: 'Add Option',
|
|
273
|
+
default: {},
|
|
274
|
+
displayOptions: show(['reviews']),
|
|
275
|
+
options: [
|
|
276
|
+
{
|
|
277
|
+
displayName: 'Page',
|
|
278
|
+
name: 'page',
|
|
279
|
+
type: 'number',
|
|
280
|
+
default: 1,
|
|
281
|
+
typeOptions: { minValue: 1, maxValue: 500 },
|
|
282
|
+
description: 'Reviews page, 1-based, 20 reviews per page, up to 500. Defaults to 1.',
|
|
283
|
+
routing: { request: { body: { page: '={{ $value }}' } } },
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
displayName: 'Sort',
|
|
287
|
+
name: 'sort',
|
|
288
|
+
type: 'options',
|
|
289
|
+
default: 'most_relevant',
|
|
290
|
+
options: [
|
|
291
|
+
{ name: 'Highest Rated', value: 'highest_rated' },
|
|
292
|
+
{ name: 'Lowest Rated', value: 'lowest_rated' },
|
|
293
|
+
{ name: 'Most Helpful', value: 'most_helpful' },
|
|
294
|
+
{ name: 'Most Relevant', value: 'most_relevant' },
|
|
295
|
+
{ name: 'Newest', value: 'newest' },
|
|
296
|
+
{ name: 'Oldest', value: 'oldest' },
|
|
297
|
+
],
|
|
298
|
+
description: 'Most relevant (default), most helpful, newest, oldest, highest or lowest rated',
|
|
299
|
+
routing: { request: { body: { sort: '={{ $value }}' } } },
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
displayName: 'Star Rating',
|
|
303
|
+
name: 'rating',
|
|
304
|
+
type: 'options',
|
|
305
|
+
default: 5,
|
|
306
|
+
options: [
|
|
307
|
+
{ name: '1 Star', value: 1 },
|
|
308
|
+
{ name: '2 Stars', value: 2 },
|
|
309
|
+
{ name: '3 Stars', value: 3 },
|
|
310
|
+
{ name: '4 Stars', value: 4 },
|
|
311
|
+
{ name: '5 Stars', value: 5 },
|
|
312
|
+
],
|
|
313
|
+
description: 'Only reviews with this many stars',
|
|
314
|
+
routing: { request: { body: { rating: '={{ $value }}' } } },
|
|
315
|
+
},
|
|
316
|
+
],
|
|
317
|
+
},
|
|
318
|
+
// -- Get Availability --
|
|
319
|
+
{
|
|
320
|
+
displayName: 'Check Stores By',
|
|
321
|
+
name: 'locateBy',
|
|
322
|
+
type: 'options',
|
|
323
|
+
default: 'zip',
|
|
324
|
+
options: [
|
|
325
|
+
{ name: 'Store IDs', value: 'storeIds' },
|
|
326
|
+
{ name: 'ZIP Code (Nearest Stores)', value: 'zip' },
|
|
327
|
+
],
|
|
328
|
+
displayOptions: show(['availability']),
|
|
329
|
+
description: 'Check the stores nearest a ZIP code, or the store IDs you choose',
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
displayName: 'ZIP Code',
|
|
333
|
+
name: 'zip',
|
|
334
|
+
type: 'string',
|
|
335
|
+
required: true,
|
|
336
|
+
default: '',
|
|
337
|
+
placeholder: '94103',
|
|
338
|
+
displayOptions: show(['availability'], { locateBy: ['zip'] }),
|
|
339
|
+
routing: { request: { body: { zip: '={{ $value }}' } } },
|
|
340
|
+
description: 'Check the stores nearest this US ZIP code',
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
displayName: 'Store IDs',
|
|
344
|
+
name: 'store_ids',
|
|
345
|
+
type: 'string',
|
|
346
|
+
required: true,
|
|
347
|
+
default: '',
|
|
348
|
+
placeholder: '187, 873',
|
|
349
|
+
displayOptions: show(['availability'], { locateBy: ['storeIds'] }),
|
|
350
|
+
routing: { send: { type: 'body', property: 'store_ids', value: splitList } },
|
|
351
|
+
description: 'Up to 8 Best Buy store numbers from Find Stores (store_id), separated by commas',
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
displayName: 'Additional Options',
|
|
355
|
+
name: 'availabilityOptions',
|
|
356
|
+
type: 'collection',
|
|
357
|
+
placeholder: 'Add Option',
|
|
358
|
+
default: {},
|
|
359
|
+
displayOptions: show(['availability'], { locateBy: ['zip'] }),
|
|
360
|
+
options: [
|
|
361
|
+
{
|
|
362
|
+
displayName: 'Max Stores',
|
|
363
|
+
name: 'max_stores',
|
|
364
|
+
type: 'number',
|
|
365
|
+
default: 5,
|
|
366
|
+
typeOptions: { minValue: 1, maxValue: 8 },
|
|
367
|
+
description: 'How many of the nearest stores to check, 1-8. Defaults to 5.',
|
|
368
|
+
routing: { request: { body: { max_stores: '={{ $value }}' } } },
|
|
369
|
+
},
|
|
370
|
+
],
|
|
371
|
+
},
|
|
372
|
+
// -- Find Stores --
|
|
373
|
+
{
|
|
374
|
+
displayName: 'ZIP Code',
|
|
375
|
+
name: 'zip',
|
|
376
|
+
type: 'string',
|
|
377
|
+
required: true,
|
|
378
|
+
default: '',
|
|
379
|
+
placeholder: '94103',
|
|
380
|
+
displayOptions: show(['stores']),
|
|
381
|
+
routing: { request: { body: { zip: '={{ $value }}' } } },
|
|
382
|
+
description: 'US ZIP code to search around',
|
|
383
|
+
},
|
|
384
|
+
// -- Get Search Suggestions --
|
|
385
|
+
{
|
|
386
|
+
displayName: 'Query',
|
|
387
|
+
name: 'query',
|
|
388
|
+
type: 'string',
|
|
389
|
+
required: true,
|
|
390
|
+
default: '',
|
|
391
|
+
placeholder: 'ps5 con',
|
|
392
|
+
displayOptions: show(['suggestions']),
|
|
393
|
+
routing: { request: { body: { query: '={{ $value }}' } } },
|
|
394
|
+
description: 'What the shopper has typed so far',
|
|
395
|
+
},
|
|
396
|
+
// -- Get Prices --
|
|
397
|
+
{
|
|
398
|
+
displayName: 'SKUs',
|
|
399
|
+
name: 'skus',
|
|
400
|
+
type: 'string',
|
|
401
|
+
required: true,
|
|
402
|
+
default: '',
|
|
403
|
+
placeholder: '6607832, 6673112, 6679316',
|
|
404
|
+
displayOptions: show(['prices']),
|
|
405
|
+
routing: { send: { type: 'body', property: 'skus', value: splitList } },
|
|
406
|
+
description: '1-15 Best Buy SKUs separated by commas',
|
|
407
|
+
},
|
|
408
|
+
];
|
|
409
|
+
//# sourceMappingURL=BestBuyDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BestBuyDescription.js","sourceRoot":"","sources":["../../../../nodes/Scavio/descriptions/BestBuyDescription.ts"],"names":[],"mappings":";;;AAEA,MAAM,IAAI,GAAG,CAAC,SAAmB,EAAE,QAAkC,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5E,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE;CACpD,CAAC,CAAC;AAEH,wFAAwF;AACxF,wFAAwF;AACxF,0FAA0F;AAC1F,wFAAwF;AACxF,MAAM,OAAO,GAAG,CAAC,GAAW,EAAE,OAAO,GAAG,MAAM,EAAE,EAAE,CAAC,CAAC;IACnD,OAAO,EAAE,EAAE,MAAM,EAAE,MAAe,EAAE,GAAG,EAAE,OAAO,EAAE;CAClD,CAAC,CAAC;AAEH,MAAM,SAAS,GAAG,qEAAqE,CAAC;AAExF,MAAM,WAAW,GAChB,8oBAA8oB,CAAC;AAEhpB,uEAAuE;AACvE,MAAM,cAAc,GAAG,CACtB,KAA6C,EAC7C,WAAmB,EACnB,eAAuB,EACtB,EAAE,CAAC;IACJ;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAiB;QACvB,OAAO,EAAE,EA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AE,GAAG,EAAE,eAAe,EAAE,EAAE,EAAE;QACxD,WAAW,EAAE,8BAA8B;KAC3C;IAED,+BAA+B;IAC/B;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,SAAS;QACtB,cAAc,EAAE,IAAI,CAAC,CAAC,aAAa,CAAC,CAAC;QACrC,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,eAAe,EAAE,EAAE,EAAE;QAC1D,WAAW,EAAE,mCAAmC;KAChD;IAED,mBAAmB;IACnB;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,2BAA2B;QACxC,cAAc,EAAE,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC;QAChC,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE;QACvE,WAAW,EAAE,wCAAwC;KACrD;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const NODE_PACKAGE_VERSION = "0.
|
|
1
|
+
export declare const NODE_PACKAGE_VERSION = "0.37.0";
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.NODE_PACKAGE_VERSION = void 0;
|
|
4
4
|
// Generated by scripts/gen-version.js from package.json. Do not edit.
|
|
5
|
-
exports.NODE_PACKAGE_VERSION = '0.
|
|
5
|
+
exports.NODE_PACKAGE_VERSION = '0.37.0';
|
|
6
6
|
//# sourceMappingURL=version.js.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-scavio",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "n8n community node for Scavio — real-time structured JSON from Google, ChatGPT, Gemini, Amazon, Walmart, eBay, Target, Home Depot, Costco, Nordstrom, Nordstrom Rack, Mercado Libre, YouTube, Reddit, TikTok, Instagram, X, LinkedIn, Threads, Kuaishou, Zillow, Redfin, Realtor.com, Rightmove, Booking.com, Airbnb, Tripadvisor, Yelp, Indeed, Glassdoor, App Store, Google Play, SEC EDGAR, Companies House, G2, Capterra, Trustpilot, ad libraries, any URL, and whole websites (map, crawl, batch extract).",
|
|
3
|
+
"version": "0.37.0",
|
|
4
|
+
"description": "n8n community node for Scavio — real-time structured JSON from Google, ChatGPT, Gemini, Amazon, Walmart, eBay, Target, Home Depot, Costco, Best Buy, Nordstrom, Nordstrom Rack, Mercado Libre, YouTube, Reddit, TikTok, Instagram, X, LinkedIn, Threads, Kuaishou, Zillow, Redfin, Realtor.com, Rightmove, Booking.com, Airbnb, Tripadvisor, Yelp, Indeed, Glassdoor, App Store, Google Play, SEC EDGAR, Companies House, G2, Capterra, Trustpilot, ad libraries, any URL, and whole websites (map, crawl, batch extract).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"n8n-community-node-package",
|
|
7
7
|
"scavio",
|