n8n-nodes-scavio 0.46.0 → 0.47.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 +16 -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/FanaticsDescription.d.ts +3 -0
- package/dist/nodes/Scavio/descriptions/FanaticsDescription.js +381 -0
- package/dist/nodes/Scavio/descriptions/FanaticsDescription.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 83 resources and 583 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
|
|
|
@@ -57,6 +57,7 @@ In n8n: **Settings -> Community Nodes -> Install** -> enter `n8n-nodes-scavio`.
|
|
|
57
57
|
| [JCPenney](https://scavio.dev/docs/jcpenney-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1 | Search Products, Get Product, Get Reviews, Get Questions, Get Category Products, Get Brand Products, Get Deals, Find Stores, Get Store Availability, Get Search Suggestions, Get Coupon Codes |
|
|
58
58
|
| [Dick's Sporting Goods](https://scavio.dev/docs/dicks-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1; Get Product and Get Reviews 2 | Search Products, Get Product, Get Products Summary, Get Reviews, Get Category Products, Get Brand Products, Get Deals, Get Store Availability, Get Search Suggestions |
|
|
59
59
|
| [Foot Locker (13 storefronts)](https://scavio.dev/docs/footlocker-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1 | Search Products, Get Product, Get Category Products, Get Brand Products, Get Deals, Get Release Calendar, Find Stores, Get Store Availability, Get Reviews, Get Questions |
|
|
60
|
+
| [Fanatics merchandise (8 storefronts + 4 US league stores)](https://scavio.dev/docs/fanatics-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1 | Search Products, Get Product, Browse Listing, Get Deals, Get Reviews |
|
|
60
61
|
| [Vinted (27 country sites)](https://scavio.dev/docs/vinted-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1 | Search Listings, Get Product, Get Seller, Get Seller Listings, Get Seller Feedback, Find Brands, Get Search Suggestions, Get Filter Options, Get Categories |
|
|
61
62
|
| [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 |
|
|
62
63
|
|
|
@@ -115,6 +116,20 @@ In n8n: **Settings -> Community Nodes -> Install** -> enter `n8n-nodes-scavio`.
|
|
|
115
116
|
| [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 |
|
|
116
117
|
| Account | Free | Get Usage |
|
|
117
118
|
|
|
119
|
+
## What changed in 0.47.0
|
|
120
|
+
|
|
121
|
+
**New resource: Fanatics, 5 operations, 1 credit each.** Merchandise and product data (jerseys, hats, fan gear, collectibles), not sportsbook odds. Nothing else changed.
|
|
122
|
+
|
|
123
|
+
- **Country** picks the storefront for Search Products, Get Product, Browse Listing and Get Deals: United States (fanatics.com, USD, default), United Kingdom (GBP), Germany, France, Spain, Italy (EUR), Japan (JPY) or Canada (CAD; Language English or French). Titles come in the storefront's language, prices in its currency. **League Store** (US) reads NFL Shop, MLB Shop, NHL Shop or MLS Store; the same product IDs work on every store.
|
|
124
|
+
- **Search Products**, **Browse Listing** and **Get Deals** share one grid: 24, 48 or 72 items per page (default 72) with total (the US site counts at most 9000: total_capped), sorted by top sellers, price or newest. Facet values feed Other Filters (JSON) as {filter: value}; facet IDs feed Browse Listing (team, player, department, brand, collection). Price Band and On Sale Only are on Browse Listing (no price bands in Japan). data_as_of says when Fanatics built each listing; misspellings come back as corrected_query.
|
|
125
|
+
- Each item carries price, regular_price, sale_price, clearance_price, with_code_price (the price with the site-wide promo code shown on the page) and price_label.
|
|
126
|
+
- **Get Product** lists every size with stock_level (low / out: a level, never a unit count), ship-by and delivery estimates, the current promo code, personalization fields with the team roster (prices already include personalization), and jersey assurance / authentic flags.
|
|
127
|
+
- **Get Deals** reads Sale, Clearance or Under 25 (not in Japan), optionally for one league, team, department or brand.
|
|
128
|
+
- **Get Reviews** (US only) returns real text with 4 sorts and a star filter (1-50, default 10), fit / quality / value and the site's own AI-written summary. Fanatics pools reviews across a style, so check each review's product_id.
|
|
129
|
+
- No search suggestions, store locator or store stock, Q&A, FanCash, member pricing, unit counts, price history or checkout: to track jersey sale prices, poll and store your own.
|
|
130
|
+
|
|
131
|
+
Get Reviews usually takes 20-90 seconds, up to about 4 minutes, so it carries a 300-second request timeout; every other operation carries 120 seconds. Failed calls are not charged; unknown products are a charged error.
|
|
132
|
+
|
|
118
133
|
## What changed in 0.46.0
|
|
119
134
|
|
|
120
135
|
**New resource: Foot Locker, 10 operations, 1 credit each.** Nothing else changed.
|
|
@@ -50,6 +50,7 @@ const KohlsDescription_1 = require("./descriptions/KohlsDescription");
|
|
|
50
50
|
const JcpenneyDescription_1 = require("./descriptions/JcpenneyDescription");
|
|
51
51
|
const DicksDescription_1 = require("./descriptions/DicksDescription");
|
|
52
52
|
const FootlockerDescription_1 = require("./descriptions/FootlockerDescription");
|
|
53
|
+
const FanaticsDescription_1 = require("./descriptions/FanaticsDescription");
|
|
53
54
|
const ZillowDescription_1 = require("./descriptions/ZillowDescription");
|
|
54
55
|
const BookingDescription_1 = require("./descriptions/BookingDescription");
|
|
55
56
|
const TripadvisorDescription_1 = require("./descriptions/TripadvisorDescription");
|
|
@@ -92,7 +93,7 @@ class Scavio {
|
|
|
92
93
|
group: ['transform'],
|
|
93
94
|
version: 1,
|
|
94
95
|
subtitle: '={{ $parameter["operation"] + ": " + $parameter["resource"] }}',
|
|
95
|
-
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, TCGplayer, Vinted, Macy\'s, Saks Fifth Avenue, Kohl\'s, JCPenney, Dick\'s Sporting Goods, Foot Locker, 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',
|
|
96
|
+
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, TCGplayer, Vinted, Macy\'s, Saks Fifth Avenue, Kohl\'s, JCPenney, Dick\'s Sporting Goods, Foot Locker, Fanatics, 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',
|
|
96
97
|
defaults: { name: 'Scavio' },
|
|
97
98
|
inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
98
99
|
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
@@ -142,6 +143,7 @@ class Scavio {
|
|
|
142
143
|
{ name: 'Etsy', value: 'etsy' },
|
|
143
144
|
{ name: 'Extract (Any URL)', value: 'extract' },
|
|
144
145
|
{ name: 'Facebook', value: 'facebook' },
|
|
146
|
+
{ name: 'Fanatics', value: 'fanatics' },
|
|
145
147
|
{ name: 'Foot Locker', value: 'footlocker' },
|
|
146
148
|
{ name: 'G2 (Software Reviews)', value: 'g2' },
|
|
147
149
|
{ name: 'Gemini', value: 'gemini' },
|
|
@@ -294,6 +296,8 @@ class Scavio {
|
|
|
294
296
|
...DicksDescription_1.dicksFields,
|
|
295
297
|
...FootlockerDescription_1.footlockerOperations,
|
|
296
298
|
...FootlockerDescription_1.footlockerFields,
|
|
299
|
+
...FanaticsDescription_1.fanaticsOperations,
|
|
300
|
+
...FanaticsDescription_1.fanaticsFields,
|
|
297
301
|
...MercadoLibreDescription_1.mercadoLibreOperations,
|
|
298
302
|
...MercadoLibreDescription_1.mercadoLibreFields,
|
|
299
303
|
...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,0EAAqF;AACrF,8EAA2F;AAC3F,wEAAkF;AAClF,sEAA+E;AAC/E,oEAA4E;AAC5E,sEAA+E;AAC/E,4EAAwF;AACxF,sEAA+E;AAC/E,gFAA8F;AAC9F,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;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,0EAAqF;AACrF,8EAA2F;AAC3F,wEAAkF;AAClF,sEAA+E;AAC/E,oEAA4E;AAC5E,sEAA+E;AAC/E,4EAAwF;AACxF,sEAA+E;AAC/E,gFAA8F;AAC9F,4EAAwF;AACxF,wEAAkF;AAClF,0EAAqF;AACrF,kFAAiG;AACjG,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c;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;AA9SD,wBA8SC"}
|
|
@@ -0,0 +1,381 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.fanaticsFields = exports.fanaticsOperations = void 0;
|
|
4
|
+
const show = (operation, extra = {}) => ({
|
|
5
|
+
show: { resource: ['fanatics'], operation, ...extra },
|
|
6
|
+
});
|
|
7
|
+
// Fanatics (fanatics.com + 7 country storefronts, local currency, plus 4 US league stores), 5
|
|
8
|
+
// operations, 1 credit each. Merchandise and product data, not sportsbook odds. Search Products,
|
|
9
|
+
// Get Product, Browse Listing and Get Deals take the Country option (8 storefronts), a Language
|
|
10
|
+
// for Canada and a League Store for the US; Get Reviews is US only. Every route carries a 120s
|
|
11
|
+
// timeout, except Get Reviews: it usually takes 20-90 s, up to about 4 minutes, so it carries
|
|
12
|
+
// 300s.
|
|
13
|
+
const request = (url, timeout = 120000) => ({
|
|
14
|
+
request: { method: 'POST', url, timeout },
|
|
15
|
+
});
|
|
16
|
+
const MARKET_OPERATIONS = ['search', 'product', 'browse', 'deals'];
|
|
17
|
+
const COUNTRY_OPTIONS = [
|
|
18
|
+
{ name: 'Canada (CAD)', value: 'ca' },
|
|
19
|
+
{ name: 'France (EUR)', value: 'fr' },
|
|
20
|
+
{ name: 'Germany (EUR)', value: 'de' },
|
|
21
|
+
{ name: 'Italy (EUR)', value: 'it' },
|
|
22
|
+
{ name: 'Japan (JPY)', value: 'jp' },
|
|
23
|
+
{ name: 'Spain (EUR)', value: 'es' },
|
|
24
|
+
{ name: 'United Kingdom (GBP)', value: 'gb' },
|
|
25
|
+
{ name: 'United States (Fanatics.com, USD)', value: 'us' },
|
|
26
|
+
];
|
|
27
|
+
const GRID = "Items with ID (for Get Product and Get Reviews), title, brand, URL, image, price (current), regular_price, sale_price, clearance_price, with_code_price and code_percent_off (the price with the site's current promo code, when it applies), price_label (none, coupon or clearance), percent_off, top_seller, customizable, ready_to_ship, ship_by, est_delivery, urgency signals and is_sponsored. Also returns total (the US site counts at most 9000: total_capped is true when the real number is 9000 or more), page, page_size, total_pages, the sort, every facet (ID, label, values with label, filter, value and count: any of them works in Other Filters), country, language, currency, site and data_as_of (when Fanatics built the page; listings can be a few minutes old).";
|
|
28
|
+
const CHARGE = 'Failed upstream calls are not charged (they are retried automatically); a not-found is charged. Costs 1 credit.';
|
|
29
|
+
const idOption = (displayName, name, placeholder, description) => ({
|
|
30
|
+
displayName,
|
|
31
|
+
name,
|
|
32
|
+
type: 'string',
|
|
33
|
+
default: '',
|
|
34
|
+
placeholder,
|
|
35
|
+
description,
|
|
36
|
+
routing: { request: { body: { [name]: '={{ $value || undefined }}' } } },
|
|
37
|
+
});
|
|
38
|
+
const LEAGUE_ID = idOption('League ID', 'league_id', '25', 'One league: NFL 25, MLB 19, NBA 23, NHL 26, College 5 (IDs from facets)');
|
|
39
|
+
const TEAM_ID = idOption('Team ID', 'team_id', '3372', 'One team (from facets): Los Angeles Lakers 3372, Kansas City Chiefs 3433');
|
|
40
|
+
const DEPARTMENT_ID = idOption('Department ID', 'department_id', '8011', 'One department (from facets): Jerseys 8011, Hats 8008, T-Shirts 8022; parent-child (8008-8084) for a sub-department');
|
|
41
|
+
const BRAND_ID = idOption('Brand ID', 'brand_id', '479', "One brand (from facets.brands): '47 479, Nike 76, New Era 127");
|
|
42
|
+
const GENDER = {
|
|
43
|
+
displayName: 'Gender',
|
|
44
|
+
name: 'gender',
|
|
45
|
+
type: 'options',
|
|
46
|
+
default: 'men',
|
|
47
|
+
options: [
|
|
48
|
+
{ name: 'Baby', value: 'baby' },
|
|
49
|
+
{ name: 'Kids', value: 'kids' },
|
|
50
|
+
{ name: 'Men', value: 'men' },
|
|
51
|
+
{ name: 'Women', value: 'women' },
|
|
52
|
+
],
|
|
53
|
+
description: 'Only items for this gender or age group',
|
|
54
|
+
routing: { request: { body: { gender: '={{ $value }}' } } },
|
|
55
|
+
};
|
|
56
|
+
const FILTERS = {
|
|
57
|
+
displayName: 'Other Filters (JSON)',
|
|
58
|
+
name: 'filters',
|
|
59
|
+
type: 'json',
|
|
60
|
+
default: '{}',
|
|
61
|
+
description: 'Filters from a previous response: facets[].values[].filter to facets[].values[].value, one value per filter (up to 12), e.g. {"ga": "2"} (Women), {"ks": "126"} (a kids size), {"fa": "1"} (Autographed), {"t": "3433"} (a team)',
|
|
62
|
+
routing: {
|
|
63
|
+
request: {
|
|
64
|
+
body: {
|
|
65
|
+
filters: '={{ (v => Object.keys(v || {}).length ? v : undefined)(typeof $value === "string" ? JSON.parse($value || "{}") : $value) }}',
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
};
|
|
70
|
+
const GRID_OPTIONS = [
|
|
71
|
+
{
|
|
72
|
+
displayName: 'Page',
|
|
73
|
+
name: 'page',
|
|
74
|
+
type: 'number',
|
|
75
|
+
default: 1,
|
|
76
|
+
typeOptions: { minValue: 1, maxValue: 375 },
|
|
77
|
+
description: 'Results page, 1-based. Fanatics lists at most 9000 products per listing.',
|
|
78
|
+
routing: { request: { body: { page: '={{ $value }}' } } },
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
displayName: 'Page Size',
|
|
82
|
+
name: 'page_size',
|
|
83
|
+
type: 'options',
|
|
84
|
+
default: 72,
|
|
85
|
+
options: [
|
|
86
|
+
{ name: '24', value: 24 },
|
|
87
|
+
{ name: '48', value: 48 },
|
|
88
|
+
{ name: '72', value: 72 },
|
|
89
|
+
],
|
|
90
|
+
description: 'Items per page (default 72)',
|
|
91
|
+
routing: { request: { body: { page_size: '={{ $value }}' } } },
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
displayName: 'Sort',
|
|
95
|
+
name: 'sort',
|
|
96
|
+
type: 'options',
|
|
97
|
+
default: 'top_sellers',
|
|
98
|
+
options: [
|
|
99
|
+
{ name: 'Newest', value: 'newest' },
|
|
100
|
+
{ name: 'Price: High to Low', value: 'price_high_to_low' },
|
|
101
|
+
{ name: 'Price: Low to High', value: 'price_low_to_high' },
|
|
102
|
+
{ name: 'Top Sellers', value: 'top_sellers' },
|
|
103
|
+
],
|
|
104
|
+
description: "Top sellers (default), price or newest. Price sorts follow the site's lowest price, which is the with-code price when a promo code applies.",
|
|
105
|
+
routing: { request: { body: { sort: '={{ $value }}' } } },
|
|
106
|
+
},
|
|
107
|
+
];
|
|
108
|
+
const sorted = (options) => [...options].sort((x, y) => x.displayName.localeCompare(y.displayName));
|
|
109
|
+
exports.fanaticsOperations = [
|
|
110
|
+
{
|
|
111
|
+
displayName: 'Operation',
|
|
112
|
+
name: 'operation',
|
|
113
|
+
type: 'options',
|
|
114
|
+
noDataExpression: true,
|
|
115
|
+
displayOptions: { show: { resource: ['fanatics'] } },
|
|
116
|
+
options: [
|
|
117
|
+
{
|
|
118
|
+
name: 'Browse Listing',
|
|
119
|
+
value: 'browse',
|
|
120
|
+
action: 'Browse a fanatics listing',
|
|
121
|
+
description: "Browse a Fanatics listing by its URL or by IDs: a team (Lakers 5,000+ products), a player (Mahomes), a league section (NFL hats), a department, a brand ('47, Nike, New Era) or a collection, with price band, on sale, gender and any facet as filters (sizes, color style, autographed). The facets list the listing's teams, players (up to 100 on a team page), departments, brands, collections and sizes with their IDs. browse names the league, team, player, department, brand and collection the page shows. Send a URL or IDs, not both; a league alone is a landing page: combine it with another ID or a filter. " +
|
|
122
|
+
GRID +
|
|
123
|
+
' ' +
|
|
124
|
+
CHARGE,
|
|
125
|
+
routing: request('/api/v1/fanatics/browse'),
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
name: 'Get Deals',
|
|
129
|
+
value: 'deals',
|
|
130
|
+
action: 'Get fanatics deals',
|
|
131
|
+
description: "Fanatics deal listings: Sale (default: the site's Sale listing, coupon-eligible items and clearance markdowns), Clearance (each sale page's clearance-priced items; total counts the whole sale listing) or Under 25 (items under 25 in the storefront's currency, by the site's lowest price; not in Japan), optionally for one league, team, department or brand. " +
|
|
132
|
+
GRID +
|
|
133
|
+
' No price history: to track jersey sale prices, poll and store your own. ' +
|
|
134
|
+
CHARGE,
|
|
135
|
+
routing: request('/api/v1/fanatics/deals'),
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
name: 'Get Product',
|
|
139
|
+
value: 'product',
|
|
140
|
+
action: 'Get a fanatics product',
|
|
141
|
+
description: "One Fanatics product by ID or URL: title, brand, league, team, player, gender, categories, breadcrumb, description, details, images, the price block (price, regular_price, sale_price, clearance_price, with_code_price, code_percent_off, percent_off, price_label), the site's current promo code (code, percent_off, tiered, ends_on, applies_to_product), in_stock, every size (item_id, available, stock_level low / out, price, with_code_price, ship_by, estimated delivery window, promise_ship_days), every colorway, personalization (name / number fields with their rules and the team roster; the price already includes personalization), flags (jersey_assurance, non_returnable, exclusive, authentic for autographed / authenticated items), the rating (average, count, distribution, fit, value, quality), review_count and data_as_of. Stock is a level, never a unit count. " +
|
|
142
|
+
CHARGE,
|
|
143
|
+
routing: request('/api/v1/fanatics/product'),
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
name: 'Get Reviews',
|
|
147
|
+
value: 'reviews',
|
|
148
|
+
action: 'Get fanatics product reviews',
|
|
149
|
+
description: "Customer reviews of one Fanatics (fanatics.com, US) product by ID or URL, 1-50 per call (default 10), sorted highest rated (default, the site's order), lowest rated, most recent or most helpful, optionally only one star rating. Returns stats (review_count, rating_count, average, distribution, fit, quality and value averages), the site's own AI-written review summary (ai_summary) and the features reviewers mention. Each review has ID, product_id and product_title, rating, fit, quality, value, recommended, title, text, author nickname, submitted_at, updated_at, incentivized, helpful and unhelpful votes, features with sentiment and photos. Fanatics pools reviews across a style: the list (and matching_reviews) covers sibling products of the same cut, so check each review's product_id. Slow: usually 20-90 s, up to about 4 minutes when a call is retried; when busy it returns an error with Retry-After. Failed calls are not charged; an unknown product is a charged error. US only. Costs 1 credit.",
|
|
150
|
+
routing: request('/api/v1/fanatics/reviews', 300000),
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
name: 'Search Products',
|
|
154
|
+
value: 'search',
|
|
155
|
+
action: 'Search fanatics products',
|
|
156
|
+
description: 'Search Fanatics merchandise (jerseys, hats, fan gear, collectibles; product data, not odds) by keyword on 8 storefronts and 4 US league stores. Narrow by gender, league ID, department ID or any facet value through Other Filters (team, player, size, color style, autographed...). Sort by top sellers, price or newest. Misspellings come back corrected (corrected_query). ' +
|
|
157
|
+
GRID +
|
|
158
|
+
' Price filters are on Browse Listing and Get Deals (on a keyword search the site loosens the match). ' +
|
|
159
|
+
CHARGE,
|
|
160
|
+
routing: request('/api/v1/fanatics/search'),
|
|
161
|
+
},
|
|
162
|
+
],
|
|
163
|
+
default: 'search',
|
|
164
|
+
},
|
|
165
|
+
];
|
|
166
|
+
exports.fanaticsFields = [
|
|
167
|
+
// -- Storefront (Search Products, Get Product, Browse Listing, Get Deals) --
|
|
168
|
+
{
|
|
169
|
+
displayName: 'Country',
|
|
170
|
+
name: 'country',
|
|
171
|
+
type: 'options',
|
|
172
|
+
default: 'us',
|
|
173
|
+
options: COUNTRY_OPTIONS,
|
|
174
|
+
displayOptions: show(MARKET_OPERATIONS),
|
|
175
|
+
// us is the server default; leaving it out lets a product or listing URL pick its own storefront.
|
|
176
|
+
routing: { request: { body: { country: '={{ $value === "us" ? undefined : $value }}' } } },
|
|
177
|
+
description: "The Fanatics storefront. Titles come in the storefront's language, prices in its currency. A URL from another storefront uses its own storefront when Country is United States.",
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
displayName: 'Language',
|
|
181
|
+
name: 'language',
|
|
182
|
+
type: 'options',
|
|
183
|
+
default: '',
|
|
184
|
+
options: [
|
|
185
|
+
{ name: 'Storefront Default (English)', value: '' },
|
|
186
|
+
{ name: 'English', value: 'en' },
|
|
187
|
+
{ name: 'French', value: 'fr' },
|
|
188
|
+
],
|
|
189
|
+
displayOptions: show(MARKET_OPERATIONS, { country: ['ca'] }),
|
|
190
|
+
routing: { request: { body: { language: '={{ $value || undefined }}' } } },
|
|
191
|
+
description: 'Canada only: English (default) or French',
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
displayName: 'League Store',
|
|
195
|
+
name: 'site',
|
|
196
|
+
type: 'options',
|
|
197
|
+
default: 'fanatics',
|
|
198
|
+
options: [
|
|
199
|
+
{ name: 'Fanatics (Fanatics.com)', value: 'fanatics' },
|
|
200
|
+
{ name: 'MLB Shop', value: 'mlbshop' },
|
|
201
|
+
{ name: 'MLS Store', value: 'mlsstore' },
|
|
202
|
+
{ name: 'NFL Shop', value: 'nflshop' },
|
|
203
|
+
{ name: 'NHL Shop', value: 'nhlshop' },
|
|
204
|
+
],
|
|
205
|
+
displayOptions: show(MARKET_OPERATIONS, { country: ['us'] }),
|
|
206
|
+
routing: { request: { body: { site: '={{ $value === "fanatics" ? undefined : $value }}' } } },
|
|
207
|
+
description: 'US only: the store to read. Same product IDs on every store; each store writes its own titles. A URL from a league store uses its own store when this is Fanatics.',
|
|
208
|
+
},
|
|
209
|
+
// -- Search Products --
|
|
210
|
+
{
|
|
211
|
+
displayName: 'Query',
|
|
212
|
+
name: 'query',
|
|
213
|
+
type: 'string',
|
|
214
|
+
required: true,
|
|
215
|
+
default: '',
|
|
216
|
+
placeholder: 'chiefs jersey',
|
|
217
|
+
displayOptions: show(['search']),
|
|
218
|
+
routing: { request: { body: { query: '={{ $value }}' } } },
|
|
219
|
+
description: 'Search keywords. Misspellings are corrected by the site (corrected_query).',
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
displayName: 'Additional Options',
|
|
223
|
+
name: 'searchOptions',
|
|
224
|
+
type: 'collection',
|
|
225
|
+
placeholder: 'Add Option',
|
|
226
|
+
default: {},
|
|
227
|
+
displayOptions: show(['search']),
|
|
228
|
+
options: sorted([LEAGUE_ID, DEPARTMENT_ID, GENDER, FILTERS, ...GRID_OPTIONS]),
|
|
229
|
+
},
|
|
230
|
+
// -- Get Product / Get Reviews --
|
|
231
|
+
{
|
|
232
|
+
displayName: 'Product ID',
|
|
233
|
+
name: 'product_id',
|
|
234
|
+
type: 'string',
|
|
235
|
+
default: '',
|
|
236
|
+
placeholder: '3892922',
|
|
237
|
+
displayOptions: show(['product', 'reviews']),
|
|
238
|
+
routing: { request: { body: { product_id: '={{ $value || undefined }}' } } },
|
|
239
|
+
description: "A Fanatics product ID: a search result's ID. The same ID works on every league store. Use this or Product URL.",
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
displayName: 'Product URL',
|
|
243
|
+
name: 'url',
|
|
244
|
+
type: 'string',
|
|
245
|
+
default: '',
|
|
246
|
+
placeholder: 'https://www.fanatics.com/x/p-3892922',
|
|
247
|
+
displayOptions: show(['product', 'reviews']),
|
|
248
|
+
routing: { request: { body: { url: '={{ $value || undefined }}' } } },
|
|
249
|
+
description: 'A product URL on any covered storefront or league store (Get Reviews: fanatics.com only). Used when Product ID is not given.',
|
|
250
|
+
},
|
|
251
|
+
// -- Browse Listing --
|
|
252
|
+
{
|
|
253
|
+
displayName: 'Listing URL',
|
|
254
|
+
name: 'url',
|
|
255
|
+
type: 'string',
|
|
256
|
+
default: '',
|
|
257
|
+
placeholder: 'https://www.fanatics.com/nba/los-angeles-lakers/o-23+t-3372',
|
|
258
|
+
displayOptions: show(['browse']),
|
|
259
|
+
routing: { request: { body: { url: '={{ $value || undefined }}' } } },
|
|
260
|
+
description: 'A Fanatics listing URL: a team, player, league section, department, brand or collection page. Leave empty to browse by the IDs in Additional Options.',
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
displayName: 'Additional Options',
|
|
264
|
+
name: 'browseOptions',
|
|
265
|
+
type: 'collection',
|
|
266
|
+
placeholder: 'Add Option',
|
|
267
|
+
default: {},
|
|
268
|
+
displayOptions: show(['browse']),
|
|
269
|
+
options: sorted([
|
|
270
|
+
{
|
|
271
|
+
...LEAGUE_ID,
|
|
272
|
+
description: 'League: NFL 25, MLB 19, NBA 23, NHL 26, College 5. A league alone is a landing page: combine it with another ID or a filter.',
|
|
273
|
+
},
|
|
274
|
+
TEAM_ID,
|
|
275
|
+
idOption('Player ID', 'player_id', '12072', 'One player (from facets.players): Patrick Mahomes 12072, Aaron Judge 31'),
|
|
276
|
+
DEPARTMENT_ID,
|
|
277
|
+
BRAND_ID,
|
|
278
|
+
idOption('Collection ID', 'collection_id', '11552', 'One collection (from facets.productGroups): City Edition 11552'),
|
|
279
|
+
{
|
|
280
|
+
displayName: 'On Sale Only',
|
|
281
|
+
name: 'on_sale',
|
|
282
|
+
type: 'boolean',
|
|
283
|
+
default: false,
|
|
284
|
+
description: 'Whether to return only sale items',
|
|
285
|
+
routing: { request: { body: { on_sale: '={{ $value || undefined }}' } } },
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
displayName: 'Price Band',
|
|
289
|
+
name: 'price_band',
|
|
290
|
+
type: 'options',
|
|
291
|
+
default: 'under_25',
|
|
292
|
+
options: [
|
|
293
|
+
{ name: '100 to 150', value: '100_150' },
|
|
294
|
+
{ name: '25 to 50', value: '25_50' },
|
|
295
|
+
{ name: '50 to 100', value: '50_100' },
|
|
296
|
+
{ name: 'Over 150', value: 'over_150' },
|
|
297
|
+
{ name: 'Under 25', value: 'under_25' },
|
|
298
|
+
],
|
|
299
|
+
description: "The site's bands in the storefront's currency, applied to its lowest price (the with-code price when a promo code applies, so a few items list a little above the band). Not in Japan.",
|
|
300
|
+
routing: { request: { body: { price_band: '={{ $value }}' } } },
|
|
301
|
+
},
|
|
302
|
+
GENDER,
|
|
303
|
+
FILTERS,
|
|
304
|
+
...GRID_OPTIONS,
|
|
305
|
+
]),
|
|
306
|
+
},
|
|
307
|
+
// -- Get Deals --
|
|
308
|
+
{
|
|
309
|
+
displayName: 'List',
|
|
310
|
+
name: 'type',
|
|
311
|
+
type: 'options',
|
|
312
|
+
default: 'sale',
|
|
313
|
+
options: [
|
|
314
|
+
{ name: 'Clearance', value: 'clearance' },
|
|
315
|
+
{ name: 'Sale', value: 'sale' },
|
|
316
|
+
{ name: 'Under 25 (Not in Japan)', value: 'under_25' },
|
|
317
|
+
],
|
|
318
|
+
displayOptions: show(['deals']),
|
|
319
|
+
routing: { request: { body: { type: '={{ $value }}' } } },
|
|
320
|
+
description: "Which deal listing to read: Sale (default), Clearance (the clearance-priced items of each sale page) or Under 25 in the storefront's currency",
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
displayName: 'Additional Options',
|
|
324
|
+
name: 'dealsOptions',
|
|
325
|
+
type: 'collection',
|
|
326
|
+
placeholder: 'Add Option',
|
|
327
|
+
default: {},
|
|
328
|
+
displayOptions: show(['deals']),
|
|
329
|
+
options: sorted([LEAGUE_ID, TEAM_ID, DEPARTMENT_ID, BRAND_ID, ...GRID_OPTIONS]),
|
|
330
|
+
},
|
|
331
|
+
// -- Get Reviews --
|
|
332
|
+
{
|
|
333
|
+
displayName: 'Additional Options',
|
|
334
|
+
name: 'reviewsOptions',
|
|
335
|
+
type: 'collection',
|
|
336
|
+
placeholder: 'Add Option',
|
|
337
|
+
default: {},
|
|
338
|
+
displayOptions: show(['reviews']),
|
|
339
|
+
options: [
|
|
340
|
+
{
|
|
341
|
+
displayName: 'Max Reviews',
|
|
342
|
+
name: 'maxReviews',
|
|
343
|
+
type: 'number',
|
|
344
|
+
default: 10,
|
|
345
|
+
typeOptions: { minValue: 1, maxValue: 50 },
|
|
346
|
+
description: 'Reviews to return, 1-50. Defaults to 10. More than 10 takes a few seconds longer per 8.',
|
|
347
|
+
routing: { request: { body: { limit: '={{ $value }}' } } },
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
displayName: 'Rating',
|
|
351
|
+
name: 'rating',
|
|
352
|
+
type: 'options',
|
|
353
|
+
default: 5,
|
|
354
|
+
options: [
|
|
355
|
+
{ name: '1 Star', value: 1 },
|
|
356
|
+
{ name: '2 Stars', value: 2 },
|
|
357
|
+
{ name: '3 Stars', value: 3 },
|
|
358
|
+
{ name: '4 Stars', value: 4 },
|
|
359
|
+
{ name: '5 Stars', value: 5 },
|
|
360
|
+
],
|
|
361
|
+
description: 'Only reviews with this many stars',
|
|
362
|
+
routing: { request: { body: { rating: '={{ $value }}' } } },
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
displayName: 'Sort',
|
|
366
|
+
name: 'sort',
|
|
367
|
+
type: 'options',
|
|
368
|
+
default: 'highest_rated',
|
|
369
|
+
options: [
|
|
370
|
+
{ name: 'Highest Rated', value: 'highest_rated' },
|
|
371
|
+
{ name: 'Lowest Rated', value: 'lowest_rated' },
|
|
372
|
+
{ name: 'Most Helpful', value: 'most_helpful' },
|
|
373
|
+
{ name: 'Most Recent', value: 'most_recent' },
|
|
374
|
+
],
|
|
375
|
+
description: "Highest rated (default, the site's order), lowest rated, most recent or most helpful",
|
|
376
|
+
routing: { request: { body: { sort: '={{ $value }}' } } },
|
|
377
|
+
},
|
|
378
|
+
],
|
|
379
|
+
},
|
|
380
|
+
];
|
|
381
|
+
//# sourceMappingURL=FanaticsDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FanaticsDescription.js","sourceRoot":"","sources":["../../../../nodes/Scavio/descriptions/FanaticsDescription.ts"],"names":[],"mappings":";;;AAEA,MAAM,IAAI,GAAG,CACZ,SAAmB,EACnB,QAA0D,EAAE,EAC3D,EAAE,CAAC,CAAC;IACL,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE;CACrD,CAAC,CAAC;AAEH,8FAA8F;AAC9F,iGAAiG;AACjG,gGAAgG;AAChG,+FAA+F;AAC/F,8FAA8F;AAC9F,QAAQ;AACR,MAAM,OAAO,GAAG,CAAC,GAAW,EAAE,OAAO,G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CAAC,EAAE;oBAC7B,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,EAAE;oBAC7B,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,EAAE;iBAC7B;gBACD,WAAW,EAAE,mCAAmC;gBAChD,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE,MAAM,EAAE,eAAe,EAAE,EAAE,EAAE;aAC3D;YACD;gBACC,WAAW,EAAE,MAAM;gBACnB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,eAAe;gBACxB,OAAO,EAAE;oBACR,EAAE,IAAI,EAAE,eAAe,EAAE,KAAK,EAAE,eAAe,EAAE;oBACjD,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,cAAc,EAAE;oBAC/C,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,cAAc,EAAE;oBAC/C,EAAE,IAAI,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE;iBAC7C;gBACD,WAAW,EACV,sFAAsF;gBACvF,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,EAAE,EAAE;aACzD;SACD;KACD;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const NODE_PACKAGE_VERSION = "0.
|
|
1
|
+
export declare const NODE_PACKAGE_VERSION = "0.47.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.47.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, Best Buy, TCGplayer, Vinted, Macy's, Saks Fifth Avenue, Kohl's, JCPenney, Dick's Sporting Goods, Foot Locker, 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.47.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, TCGplayer, Vinted, Macy's, Saks Fifth Avenue, Kohl's, JCPenney, Dick's Sporting Goods, Foot Locker, Fanatics, 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",
|