n8n-nodes-scavio 0.50.0 → 0.52.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 +27 -2
- package/dist/nodes/Scavio/Scavio.node.js +5 -1
- package/dist/nodes/Scavio/Scavio.node.js.map +1 -1
- package/dist/nodes/Scavio/descriptions/KrogerDescription.js +353 -20
- package/dist/nodes/Scavio/descriptions/KrogerDescription.js.map +1 -1
- package/dist/nodes/Scavio/descriptions/OlxDescription.d.ts +3 -0
- package/dist/nodes/Scavio/descriptions/OlxDescription.js +534 -0
- package/dist/nodes/Scavio/descriptions/OlxDescription.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 87 resources and 615 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
|
|
|
@@ -28,7 +28,7 @@ In n8n: **Settings -> Community Nodes -> Install** -> enter `n8n-nodes-scavio`.
|
|
|
28
28
|
| [Home Depot](https://scavio.dev/docs/home-depot-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 2 | Search Products, Get Product, Get Reviews |
|
|
29
29
|
| [Costco](https://scavio.dev/docs/costco-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1; Search Products, Get Category Products, Get Deals and Find Clearance Items 2 in the United States; Get Warehouse Prices, Get Availability and Get Gas Prices scale with the number of warehouses | Search Products, Get Category Products, Get Categories, Get Products, Get Warehouse Prices, Get Availability, Get Reviews, Get Warehouses, Get Gas Prices, Get Coupon Book, Get Deals, Find Clearance Items, Get Search Suggestions |
|
|
30
30
|
| [HEB](https://scavio.dev/docs/heb-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 2 | Search Products, Get Product, Get Stores |
|
|
31
|
-
| [Kroger](https://scavio.dev/docs/kroger-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 2 | Search Products, Get Product |
|
|
31
|
+
| [Kroger, QFC and Fred Meyer](https://scavio.dev/docs/kroger-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1; Search Products and Get Product 2, Get Store Prices 3 | Search Products, Get Product, Get Store Prices, Find Stores, Get Category Products, Get Weekly Digital Deals, Get Coupons, Get Search Suggestions |
|
|
32
32
|
| [Spec's](https://scavio.dev/docs/specs-product?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 5 | Search Products, Get Product, Find Stores |
|
|
33
33
|
| [Lowe's](https://scavio.dev/docs/lowes-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 2; Get Reviews 1 | Search Products, Get Product, Find Stores, Get Reviews |
|
|
34
34
|
| [Sam's Club](https://scavio.dev/docs/samsclub-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1 | Search Products, Get Product, Find Clubs, Get Instant Savings, Get Category Products, Get Reviews |
|
|
@@ -60,6 +60,7 @@ In n8n: **Settings -> Community Nodes -> Install** -> enter `n8n-nodes-scavio`.
|
|
|
60
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 |
|
|
61
61
|
| [Carrefour (France; search and product also Argentina, Romania, Belgium)](https://scavio.dev/docs/carrefour-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1; Search Products and Get Product 2 on Belgium | Search Products, Get Product, Get Reviews, Get Category Products, Get Promotions, Get Search Suggestions, Find Stores, Get Store Availability, Get Store |
|
|
62
62
|
| [Allegro (Poland, Czechia, Slovakia, Hungary)](https://scavio.dev/docs/allegro-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 2 | Search Offers, Get Offer, Get Product, Get Product Offers, Get Seller Offers, Get Seller Feedback, Get Category Offers |
|
|
63
|
+
| [OLX Europe (Poland, Romania, Portugal, Bulgaria, Ukraine, Kazakhstan, Uzbekistan)](https://scavio.dev/docs/olx-search?utm_source=n8n-node&utm_medium=package&utm_campaign=readme) | 1 | Search Ads, Get Ad, Get Seller, Get Seller Ads, Get Category Filters, Get Categories, Search Locations, Get Search Suggestions, Get Similar Ads |
|
|
63
64
|
| [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 |
|
|
64
65
|
| [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 |
|
|
65
66
|
|
|
@@ -119,6 +120,30 @@ In n8n: **Settings -> Community Nodes -> Install** -> enter `n8n-nodes-scavio`.
|
|
|
119
120
|
| [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 |
|
|
120
121
|
| Account | Free | Get Usage |
|
|
121
122
|
|
|
123
|
+
## What changed in 0.52.0
|
|
124
|
+
|
|
125
|
+
**Kroger: QFC and Fred Meyer banners and 6 new operations.** Nothing else changed.
|
|
126
|
+
|
|
127
|
+
- Every Kroger operation has a **Banner** option: Kroger (kroger.com), QFC (qfc.com: Washington and Oregon) or Fred Meyer (fredmeyer.com: the Pacific Northwest and Alaska, grocery plus general merchandise, apparel and home). **Auto**, the default, sends none: Kroger, unless a product or category URL or a store ID sets it, so existing workflows behave as before. Other Kroger banners (Ralphs, King Soopers, Fry's, Harris Teeter, Smith's...) are not supported yet.
|
|
128
|
+
- New: **Get Store Prices** (price, promotion, stock, available quantity, aisle and fulfillment for up to 25 UPCs at one store you choose, 3 credits), **Find Stores**, **Get Category Products**, **Get Weekly Digital Deals**, **Get Coupons** (listed, never clipped; no account) and **Get Search Suggestions**, 1 credit each.
|
|
129
|
+
- Prices are integer cents (price 399 = $3.99) and differ by banner and by store. **Search Products**, **Get Product**, **Get Category Products** and **Get Weekly Digital Deals** return the prices of a store the site chooses for the request (returned in store); for one specific store, take a location_id from **Find Stores** and use it in **Get Store Prices**.
|
|
130
|
+
- **Search Products**, **Get Category Products** and **Get Weekly Digital Deals** serve the first page only (up to 24 products), with no sort; a page above 1 is refused before any charge. Ratings are average, count and star distribution; review text is not available. Fuel center locations are returned, fuel prices are not. The printed weekly ad circular is not available.
|
|
131
|
+
|
|
132
|
+
Every Kroger operation now carries a 120-second request timeout. Failed calls are not charged; an unknown UPC or store ID is a charged not-found.
|
|
133
|
+
|
|
134
|
+
## What changed in 0.51.0
|
|
135
|
+
|
|
136
|
+
**New resource: OLX, 9 operations, 1 credit each.** OLX Europe classifieds: used goods, cars, real estate and jobs, with sellers, category filters and similar ads. Nothing else changed.
|
|
137
|
+
|
|
138
|
+
- OLX Europe only. **Country** picks the site: Poland (olx.pl, PLN, default), Romania (olx.ro, RON), Portugal (olx.pt, EUR), Bulgaria (olx.bg, EUR), Ukraine (olx.ua, UAH), Kazakhstan (olx.kz, KZT) or Uzbekistan (olx.uz, UZS). **Get Category Filters** and **Get Similar Ads** are not available on Kazakhstan or Uzbekistan. OLX Brasil, olx.in and other OLX-branded sites are not covered.
|
|
139
|
+
- Titles, parameters and labels come back in the site's language: Polish on Poland, Russian by default on Kazakhstan and Uzbekistan, where **Language** switches **Search Ads**, **Get Seller Ads** and **Get Ad** to Kazakh or Uzbek.
|
|
140
|
+
- **Search Ads** and **Get Seller Ads** share one grid: up to 50 ads per page (default 40; promoted ads are interleaved on top, each flagged is_promoted with promoted_position). OLX lets anyone page through the first 1,000 results only (total_capped); Kazakhstan and Uzbekistan hide large totals (total null). **Newest** orders by last refresh, not first posting. Filter by price, condition, private or business seller, OLX delivery (not on Kazakhstan or Uzbekistan), photos, region / city / district with a radius, and the category's own filter_* keys from **Get Category Filters** (Category Filters (JSON)).
|
|
141
|
+
- When the site converts a price (olx.uz y.e. to UZS, EUR to RON on Romania, USD / EUR to UAH on Ukraine), price.value is the converted figure and original_value / original_currency keep what the seller entered. Jobs carry salary.
|
|
142
|
+
- Private sellers' names, phone numbers, emails, exact map positions, last-seen times and car VINs are never returned, and phone numbers and emails in ad text are replaced; business_name is set for business sellers only. OLX shows no seller ratings or reviews.
|
|
143
|
+
- An ended ad answers the same 404 as a missing one (not found or no longer active). No view counts, phone numbers, messaging, delivery prices, checkout, average prices, notifications or price history: to watch for new listings or track prices, poll Newest and store your own.
|
|
144
|
+
|
|
145
|
+
Every operation carries a 120-second request timeout. Failed calls are not charged; a not-found is a charged error.
|
|
146
|
+
|
|
122
147
|
## What changed in 0.50.0
|
|
123
148
|
|
|
124
149
|
**New resource: Company (Enrich), 1 operation.** Find a company's contact details and its owner from its website or a Google Maps place ID. Nothing else changed.
|
|
@@ -53,6 +53,7 @@ const FootlockerDescription_1 = require("./descriptions/FootlockerDescription");
|
|
|
53
53
|
const FanaticsDescription_1 = require("./descriptions/FanaticsDescription");
|
|
54
54
|
const CarrefourDescription_1 = require("./descriptions/CarrefourDescription");
|
|
55
55
|
const AllegroDescription_1 = require("./descriptions/AllegroDescription");
|
|
56
|
+
const OlxDescription_1 = require("./descriptions/OlxDescription");
|
|
56
57
|
const ZillowDescription_1 = require("./descriptions/ZillowDescription");
|
|
57
58
|
const BookingDescription_1 = require("./descriptions/BookingDescription");
|
|
58
59
|
const TripadvisorDescription_1 = require("./descriptions/TripadvisorDescription");
|
|
@@ -96,7 +97,7 @@ class Scavio {
|
|
|
96
97
|
group: ['transform'],
|
|
97
98
|
version: 1,
|
|
98
99
|
subtitle: '={{ $parameter["operation"] + ": " + $parameter["resource"] }}',
|
|
99
|
-
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, Carrefour, Allegro, 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, company websites (contact and owner enrichment), G2, Capterra, Trustpilot, ad libraries, and any URL',
|
|
100
|
+
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, Carrefour, Allegro, OLX, 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, company websites (contact and owner enrichment), G2, Capterra, Trustpilot, ad libraries, and any URL',
|
|
100
101
|
defaults: { name: 'Scavio' },
|
|
101
102
|
inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
102
103
|
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
@@ -184,6 +185,7 @@ class Scavio {
|
|
|
184
185
|
{ name: 'Micro Center', value: 'microCenter' },
|
|
185
186
|
{ name: 'Nordstrom', value: 'nordstrom' },
|
|
186
187
|
{ name: 'Nordstrom Rack', value: 'nordstromRack' },
|
|
188
|
+
{ name: 'OLX', value: 'olx' },
|
|
187
189
|
{ name: 'Petco', value: 'petco' },
|
|
188
190
|
{ name: 'PetSmart', value: 'petsmart' },
|
|
189
191
|
{ name: 'Pinterest', value: 'pinterest' },
|
|
@@ -308,6 +310,8 @@ class Scavio {
|
|
|
308
310
|
...CarrefourDescription_1.carrefourFields,
|
|
309
311
|
...AllegroDescription_1.allegroOperations,
|
|
310
312
|
...AllegroDescription_1.allegroFields,
|
|
313
|
+
...OlxDescription_1.olxOperations,
|
|
314
|
+
...OlxDescription_1.olxFields,
|
|
311
315
|
...MercadoLibreDescription_1.mercadoLibreOperations,
|
|
312
316
|
...MercadoLibreDescription_1.mercadoLibreFields,
|
|
313
317
|
...YouTubeDescription_1.youtubeOperations,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Scav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AAc;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;AA1TD,wBA0TC"}
|
|
@@ -1,6 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.krogerFields = exports.krogerOperations = void 0;
|
|
4
|
+
const show = (operation, extra = {}) => ({
|
|
5
|
+
show: { resource: ['kroger'], operation, ...extra },
|
|
6
|
+
});
|
|
7
|
+
// Kroger (kroger.com) plus the QFC (qfc.com) and Fred Meyer (fredmeyer.com) banners, 8
|
|
8
|
+
// operations. Search Products and Get Product 2 credits, Get Store Prices 3, the rest 1. Prices
|
|
9
|
+
// are integer cents. A call can take up to about a minute, so every route carries a 120s timeout.
|
|
10
|
+
const request = (url) => ({
|
|
11
|
+
request: { method: 'POST', url, timeout: 120000 },
|
|
12
|
+
});
|
|
13
|
+
// Comma-separated text -> string array, blanks dropped.
|
|
14
|
+
const splitList = '={{ String($value).split(",").map(s => s.trim()).filter(Boolean) }}';
|
|
15
|
+
const CENTS = 'Prices are integer cents (price 399 = $3.99).';
|
|
16
|
+
const SITE_STORE = 'Prices, promotions, stock and aisle are those of the store returned in store (a store the site chooses, which can change between calls); for one specific store use Get Store Prices with a store ID from Find Stores.';
|
|
17
|
+
const ITEM = 'UPC, name, brand, URL, image, price, list_price, promo_price with promo_ends_at, price_display, unit_price_display, n-for deals, size, in_stock (null when the store has no stock record), stock_level, SNAP eligibility, dietary info, category and rating (average, count, star distribution; no review text)';
|
|
18
|
+
const GRID = `banner, store, total, count and products with ${ITEM}. Only the first page (up to 24 products) is available, with no sort.`;
|
|
19
|
+
const CHARGE = 'Failed upstream calls are not charged (they are retried automatically); a not-found is charged.';
|
|
20
|
+
const STORE_ID_DESCRIPTION = "A store's 8-digit location_id from Find Stores, e.g. 70500847. QFC IDs start with 705, Fred Meyer IDs with 701.";
|
|
4
21
|
exports.krogerOperations = [
|
|
5
22
|
{
|
|
6
23
|
displayName: 'Operation',
|
|
@@ -9,25 +26,92 @@ exports.krogerOperations = [
|
|
|
9
26
|
noDataExpression: true,
|
|
10
27
|
displayOptions: { show: { resource: ['kroger'] } },
|
|
11
28
|
options: [
|
|
29
|
+
{
|
|
30
|
+
name: 'Find Stores',
|
|
31
|
+
value: 'stores',
|
|
32
|
+
action: 'Find kroger stores',
|
|
33
|
+
description: `Kroger, QFC or Fred Meyer stores near a ZIP or a city / address (nearest first), or one store by ID: location_id (the store ID for Get Store Prices, Get Coupons and Get Search Suggestions), banner, type (store or fuel_center), name, store_number, address, coordinates, phone, timezone, hours, open_24_hours, departments, has_pharmacy, has_fuel_center, pickup, delivery and distance_miles. Fuel center locations only, no fuel prices. ${CHARGE} Costs 1 credit.`,
|
|
34
|
+
routing: request('/api/v1/kroger/stores'),
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
name: 'Get Category Products',
|
|
38
|
+
value: 'category',
|
|
39
|
+
action: 'Get kroger category products',
|
|
40
|
+
description: `A Kroger, QFC or Fred Meyer category listing by /pl/ URL or taxonomy ID. Returns category (ID, name, URL) and ${GRID} ${SITE_STORE} ${CENTS} ${CHARGE} Costs 1 credit.`,
|
|
41
|
+
routing: request('/api/v1/kroger/category'),
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
name: 'Get Coupons',
|
|
45
|
+
value: 'coupons',
|
|
46
|
+
action: 'Get kroger digital coupons',
|
|
47
|
+
description: `The digital coupons at one Kroger, QFC or Fred Meyer store (store ID, or the banner's store nearest a ZIP), 24 per page: ID, brand, title, description, details, savings (type, amount in cents, percent), type, min_quantity, categories, tags, valid_for, max_redemptions, starts_at, clip_by, expires_at and image; plus total_at_store, has_more and the categories to filter on. Listing only: coupons are not clipped and no account is used. ${CHARGE} Costs 1 credit.`,
|
|
48
|
+
routing: request('/api/v1/kroger/coupons'),
|
|
49
|
+
},
|
|
12
50
|
{
|
|
13
51
|
name: 'Get Product',
|
|
14
52
|
value: 'product',
|
|
15
53
|
action: 'Get a kroger product',
|
|
16
|
-
description:
|
|
17
|
-
routing:
|
|
54
|
+
description: `One Kroger, QFC or Fred Meyer product by URL or UPC: the search fields plus description, nutrition facts, ingredients, allergens, images, country of origin, dimensions, weight, dietary flags, the aisle at the store (store_location) and breadcrumbs. ${SITE_STORE} ${CENTS} ${CHARGE} Costs 2 credits.`,
|
|
55
|
+
routing: request('/api/v1/kroger/product'),
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
name: 'Get Search Suggestions',
|
|
59
|
+
value: 'suggestions',
|
|
60
|
+
action: 'Get kroger search suggestions',
|
|
61
|
+
description: `Kroger, QFC or Fred Meyer search box suggestions for a partial query: suggestions (text, type) and the store they were asked for. ${CHARGE} Costs 1 credit.`,
|
|
62
|
+
routing: request('/api/v1/kroger/suggestions'),
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
name: 'Get Store Prices',
|
|
66
|
+
value: 'prices',
|
|
67
|
+
action: 'Get kroger store prices',
|
|
68
|
+
description: `Price, promotion, stock and aisle for up to 25 UPCs at one Kroger, QFC or Fred Meyer store you choose (store ID from Find Stores). Per UPC: price, promo_price, promo_ends_at, on_sale, price_display, unit_price_display, in_stock, stock_level, quantity (the site's available estimate, not a shelf count), aisle (description, number, side, bay, shelf), fulfillment and priced_at; unknown UPCs in not_found. ${CENTS} An unknown store ID is a charged not-found. ${CHARGE} Costs 3 credits.`,
|
|
69
|
+
routing: request('/api/v1/kroger/prices'),
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
name: 'Get Weekly Digital Deals',
|
|
73
|
+
value: 'deals',
|
|
74
|
+
action: 'Get kroger weekly digital deals',
|
|
75
|
+
description: `This week's weekly digital deals of Kroger, QFC or Fred Meyer: deals_week (ID, ends_at) and ${GRID} Store promotions carry promo_price; digital-coupon deals show the shelf price (the coupon is in Get Coupons, tag Weekly Digital Deals). The printed weekly ad circular is not available. ${SITE_STORE} ${CENTS} ${CHARGE} Costs 1 credit.`,
|
|
76
|
+
routing: request('/api/v1/kroger/deals'),
|
|
18
77
|
},
|
|
19
78
|
{
|
|
20
79
|
name: 'Search Products',
|
|
21
80
|
value: 'search',
|
|
22
81
|
action: 'Search kroger products',
|
|
23
|
-
description:
|
|
24
|
-
routing:
|
|
82
|
+
description: `Search Kroger, QFC or Fred Meyer products by keyword. Returns ${GRID} ${SITE_STORE} ${CENTS} ${CHARGE} Costs 2 credits.`,
|
|
83
|
+
routing: request('/api/v1/kroger/search'),
|
|
25
84
|
},
|
|
26
85
|
],
|
|
27
86
|
default: 'search',
|
|
28
87
|
},
|
|
29
88
|
];
|
|
30
89
|
exports.krogerFields = [
|
|
90
|
+
// -- Banner: every operation --
|
|
91
|
+
{
|
|
92
|
+
displayName: 'Banner',
|
|
93
|
+
name: 'banner',
|
|
94
|
+
type: 'options',
|
|
95
|
+
default: 'auto',
|
|
96
|
+
options: [
|
|
97
|
+
{ name: 'Auto (Kroger, or From the URL / Store ID)', value: 'auto' },
|
|
98
|
+
{ name: 'Fred Meyer (Fredmeyer.com: Pacific Northwest and Alaska)', value: 'fred_meyer' },
|
|
99
|
+
{ name: 'Kroger (Kroger.com)', value: 'kroger' },
|
|
100
|
+
{ name: 'QFC (Qfc.com: Washington and Oregon)', value: 'qfc' },
|
|
101
|
+
],
|
|
102
|
+
displayOptions: show([
|
|
103
|
+
'search',
|
|
104
|
+
'product',
|
|
105
|
+
'prices',
|
|
106
|
+
'stores',
|
|
107
|
+
'category',
|
|
108
|
+
'deals',
|
|
109
|
+
'coupons',
|
|
110
|
+
'suggestions',
|
|
111
|
+
]),
|
|
112
|
+
routing: { request: { body: { banner: '={{ $value === "auto" ? undefined : $value }}' } } },
|
|
113
|
+
description: 'The store banner. Auto sends none: kroger, unless a product or category URL or a store ID sets it. Prices differ by banner and by store. Other Kroger banners are not supported yet.',
|
|
114
|
+
},
|
|
31
115
|
// -- Search Products --
|
|
32
116
|
{
|
|
33
117
|
displayName: 'Keyword',
|
|
@@ -36,7 +120,7 @@ exports.krogerFields = [
|
|
|
36
120
|
required: true,
|
|
37
121
|
default: '',
|
|
38
122
|
placeholder: 'organic milk',
|
|
39
|
-
displayOptions:
|
|
123
|
+
displayOptions: show(['search']),
|
|
40
124
|
routing: { request: { body: { query: '={{ $value }}' } } },
|
|
41
125
|
description: 'Product search keyword',
|
|
42
126
|
},
|
|
@@ -46,49 +130,298 @@ exports.krogerFields = [
|
|
|
46
130
|
name: 'product_url',
|
|
47
131
|
type: 'string',
|
|
48
132
|
default: '',
|
|
49
|
-
placeholder: '/p/
|
|
50
|
-
displayOptions:
|
|
51
|
-
routing: { request: { body: { product_url: '={{ $value }}' } } },
|
|
52
|
-
description: 'Full or relative product URL
|
|
133
|
+
placeholder: '/p/simple-truth-organic-lactose-free-2-reduced-fat-milk-half-gallon/0001111050438',
|
|
134
|
+
displayOptions: show(['product']),
|
|
135
|
+
routing: { request: { body: { product_url: '={{ $value || undefined }}' } } },
|
|
136
|
+
description: 'Full or relative product URL on kroger.com, qfc.com or fredmeyer.com (the product URL from Search Products). Pass this or UPC. An absolute URL sets the banner.',
|
|
53
137
|
},
|
|
54
138
|
{
|
|
55
139
|
displayName: 'UPC',
|
|
56
140
|
name: 'upc',
|
|
57
141
|
type: 'string',
|
|
58
142
|
default: '',
|
|
59
|
-
placeholder: '
|
|
60
|
-
displayOptions:
|
|
61
|
-
routing: { request: { body: { upc: '={{ $value }}' } } },
|
|
62
|
-
description:
|
|
143
|
+
placeholder: '0001111050438',
|
|
144
|
+
displayOptions: show(['product']),
|
|
145
|
+
routing: { request: { body: { upc: '={{ $value || undefined }}' } } },
|
|
146
|
+
description: "The product's UPC (from Search Products or product URLs: /p/{slug}/{upc})",
|
|
63
147
|
},
|
|
64
148
|
{
|
|
65
149
|
displayName: 'Slug',
|
|
66
150
|
name: 'slug',
|
|
67
151
|
type: 'string',
|
|
68
152
|
default: '',
|
|
69
|
-
placeholder: '
|
|
70
|
-
displayOptions:
|
|
71
|
-
routing: { request: { body: { slug: '={{ $value }}' } } },
|
|
72
|
-
description: 'Product slug
|
|
153
|
+
placeholder: 'simple-truth-organic-lactose-free-2-reduced-fat-milk-half-gallon',
|
|
154
|
+
displayOptions: show(['product']),
|
|
155
|
+
routing: { request: { body: { slug: '={{ $value || undefined }}' } } },
|
|
156
|
+
description: 'Product slug (the readable part of the product URL). Optional with UPC.',
|
|
157
|
+
},
|
|
158
|
+
// -- Get Store Prices --
|
|
159
|
+
{
|
|
160
|
+
displayName: 'Store ID',
|
|
161
|
+
name: 'store_id',
|
|
162
|
+
type: 'string',
|
|
163
|
+
required: true,
|
|
164
|
+
default: '',
|
|
165
|
+
placeholder: '70500847',
|
|
166
|
+
displayOptions: show(['prices']),
|
|
167
|
+
routing: { request: { body: { store_id: '={{ $value }}' } } },
|
|
168
|
+
description: STORE_ID_DESCRIPTION,
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
displayName: 'UPCs',
|
|
172
|
+
name: 'upcs',
|
|
173
|
+
type: 'string',
|
|
174
|
+
required: true,
|
|
175
|
+
default: '',
|
|
176
|
+
placeholder: '0001111050438, 0081006334306',
|
|
177
|
+
displayOptions: show(['prices']),
|
|
178
|
+
routing: { request: { body: { upcs: splitList } } },
|
|
179
|
+
description: '1 to 25 13-digit UPCs, comma-separated, as the site writes them (products[].upc of Search Products or Get Category Products)',
|
|
180
|
+
},
|
|
181
|
+
// -- Find Stores --
|
|
182
|
+
{
|
|
183
|
+
displayName: 'Find By',
|
|
184
|
+
name: 'findBy',
|
|
185
|
+
type: 'options',
|
|
186
|
+
default: 'zip',
|
|
187
|
+
options: [
|
|
188
|
+
{ name: 'City or Address', value: 'query' },
|
|
189
|
+
{ name: 'Store ID', value: 'storeId' },
|
|
190
|
+
{ name: 'ZIP Code', value: 'zip' },
|
|
191
|
+
],
|
|
192
|
+
displayOptions: show(['stores']),
|
|
193
|
+
description: 'Find stores near a ZIP or a place, or read one store by ID',
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
displayName: 'ZIP Code',
|
|
197
|
+
name: 'zip',
|
|
198
|
+
type: 'string',
|
|
199
|
+
required: true,
|
|
200
|
+
default: '',
|
|
201
|
+
placeholder: '98101',
|
|
202
|
+
displayOptions: show(['stores'], { findBy: ['zip'] }),
|
|
203
|
+
routing: { request: { body: { zip: '={{ $value }}' } } },
|
|
204
|
+
description: 'A 5-digit US ZIP code',
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
displayName: 'City or Address',
|
|
208
|
+
name: 'query',
|
|
209
|
+
type: 'string',
|
|
210
|
+
required: true,
|
|
211
|
+
default: '',
|
|
212
|
+
placeholder: 'Portland, OR',
|
|
213
|
+
displayOptions: show(['stores'], { findBy: ['query'] }),
|
|
214
|
+
routing: { request: { body: { query: '={{ $value }}' } } },
|
|
215
|
+
description: "A city or address, as typed in the site's store finder",
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
displayName: 'Store ID',
|
|
219
|
+
name: 'storeLookupId',
|
|
220
|
+
type: 'string',
|
|
221
|
+
required: true,
|
|
222
|
+
default: '',
|
|
223
|
+
placeholder: '70100011',
|
|
224
|
+
displayOptions: show(['stores'], { findBy: ['storeId'] }),
|
|
225
|
+
routing: { request: { body: { store_id: '={{ $value }}' } } },
|
|
226
|
+
description: STORE_ID_DESCRIPTION,
|
|
227
|
+
},
|
|
228
|
+
// -- Get Category Products --
|
|
229
|
+
{
|
|
230
|
+
displayName: 'Category By',
|
|
231
|
+
name: 'categoryBy',
|
|
232
|
+
type: 'options',
|
|
233
|
+
default: 'url',
|
|
234
|
+
options: [
|
|
235
|
+
{ name: 'Category URL', value: 'url' },
|
|
236
|
+
{ name: 'Taxonomy ID', value: 'taxonomyId' },
|
|
237
|
+
],
|
|
238
|
+
displayOptions: show(['category']),
|
|
239
|
+
description: 'Read a category by its /pl/ URL or by the ID at the end of it',
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
displayName: 'Category URL',
|
|
243
|
+
name: 'url',
|
|
244
|
+
type: 'string',
|
|
245
|
+
required: true,
|
|
246
|
+
default: '',
|
|
247
|
+
placeholder: 'https://www.fredmeyer.com/pl/headphones-earbuds-headsets/2900300001',
|
|
248
|
+
displayOptions: show(['category'], { categoryBy: ['url'] }),
|
|
249
|
+
routing: { request: { body: { url: '={{ $value }}' } } },
|
|
250
|
+
description: "A category listing URL (/pl/<name>/<ID>) on kroger.com, qfc.com or fredmeyer.com. The URL's host sets the banner.",
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
displayName: 'Taxonomy ID',
|
|
254
|
+
name: 'taxonomy_id',
|
|
255
|
+
type: 'string',
|
|
256
|
+
required: true,
|
|
257
|
+
default: '',
|
|
258
|
+
placeholder: '08190',
|
|
259
|
+
displayOptions: show(['category'], { categoryBy: ['taxonomyId'] }),
|
|
260
|
+
routing: { request: { body: { taxonomy_id: '={{ $value }}' } } },
|
|
261
|
+
description: 'The digits at the end of a /pl/ URL. Category IDs are shared across banners.',
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
displayName: 'Category Slug',
|
|
265
|
+
name: 'categorySlug',
|
|
266
|
+
type: 'string',
|
|
267
|
+
default: '',
|
|
268
|
+
placeholder: 'Import-Beer',
|
|
269
|
+
displayOptions: show(['category'], { categoryBy: ['taxonomyId'] }),
|
|
270
|
+
routing: { request: { body: { slug: '={{ $value || undefined }}' } } },
|
|
271
|
+
description: 'The name part of a /pl/ URL. Optional; without it category.name is null.',
|
|
272
|
+
},
|
|
273
|
+
// -- Get Coupons --
|
|
274
|
+
{
|
|
275
|
+
displayName: 'Store By',
|
|
276
|
+
name: 'couponStoreBy',
|
|
277
|
+
type: 'options',
|
|
278
|
+
default: 'storeId',
|
|
279
|
+
options: [
|
|
280
|
+
{ name: 'Store ID', value: 'storeId' },
|
|
281
|
+
{ name: 'ZIP Code (Nearest Store)', value: 'zip' },
|
|
282
|
+
],
|
|
283
|
+
displayOptions: show(['coupons']),
|
|
284
|
+
description: "Read one store's coupons, or those of the banner's store nearest a ZIP",
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
displayName: 'Store ID',
|
|
288
|
+
name: 'couponStoreId',
|
|
289
|
+
type: 'string',
|
|
290
|
+
required: true,
|
|
291
|
+
default: '',
|
|
292
|
+
placeholder: '70500847',
|
|
293
|
+
displayOptions: show(['coupons'], { couponStoreBy: ['storeId'] }),
|
|
294
|
+
routing: { request: { body: { store_id: '={{ $value }}' } } },
|
|
295
|
+
description: STORE_ID_DESCRIPTION,
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
displayName: 'ZIP Code',
|
|
299
|
+
name: 'couponZip',
|
|
300
|
+
type: 'string',
|
|
301
|
+
required: true,
|
|
302
|
+
default: '',
|
|
303
|
+
placeholder: '98101',
|
|
304
|
+
displayOptions: show(['coupons'], { couponStoreBy: ['zip'] }),
|
|
305
|
+
routing: { request: { body: { zip: '={{ $value }}' } } },
|
|
306
|
+
description: "A 5-digit ZIP: the banner's nearest store is used",
|
|
73
307
|
},
|
|
74
|
-
// --
|
|
308
|
+
// -- Get Search Suggestions --
|
|
309
|
+
{
|
|
310
|
+
displayName: 'Query',
|
|
311
|
+
name: 'suggestionQuery',
|
|
312
|
+
type: 'string',
|
|
313
|
+
required: true,
|
|
314
|
+
default: '',
|
|
315
|
+
placeholder: 'almond mi',
|
|
316
|
+
displayOptions: show(['suggestions']),
|
|
317
|
+
routing: { request: { body: { query: '={{ $value }}' } } },
|
|
318
|
+
description: 'What a shopper has typed so far (2+ characters)',
|
|
319
|
+
},
|
|
320
|
+
// -- Additional Options: Search Products, Get Category Products, Get Weekly Digital Deals --
|
|
75
321
|
{
|
|
76
322
|
displayName: 'Additional Options',
|
|
77
323
|
name: 'additionalOptions',
|
|
78
324
|
type: 'collection',
|
|
79
325
|
placeholder: 'Add Option',
|
|
80
326
|
default: {},
|
|
81
|
-
displayOptions:
|
|
327
|
+
displayOptions: show(['search', 'category', 'deals']),
|
|
82
328
|
options: [
|
|
83
329
|
{
|
|
84
330
|
displayName: 'Page',
|
|
85
331
|
name: 'page',
|
|
86
332
|
type: 'number',
|
|
87
333
|
default: 1,
|
|
334
|
+
typeOptions: { minValue: 1, maxValue: 1 },
|
|
335
|
+
description: 'Only page 1 (up to 24 products) is available; a page above 1 is refused before any charge',
|
|
336
|
+
routing: { request: { body: { page: '={{ $value }}' } } },
|
|
337
|
+
},
|
|
338
|
+
],
|
|
339
|
+
},
|
|
340
|
+
// -- Additional Options: Find Stores --
|
|
341
|
+
{
|
|
342
|
+
displayName: 'Additional Options',
|
|
343
|
+
name: 'storeOptions',
|
|
344
|
+
type: 'collection',
|
|
345
|
+
placeholder: 'Add Option',
|
|
346
|
+
default: {},
|
|
347
|
+
displayOptions: show(['stores']),
|
|
348
|
+
options: [
|
|
349
|
+
{
|
|
350
|
+
displayName: 'Include Other Banners',
|
|
351
|
+
name: 'include_other_banners',
|
|
352
|
+
type: 'boolean',
|
|
353
|
+
default: false,
|
|
354
|
+
description: 'Whether to also return nearby stores of other Kroger banners (for example Fred Meyer stores near a QFC search)',
|
|
355
|
+
routing: { request: { body: { include_other_banners: '={{ $value }}' } } },
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
displayName: 'Limit',
|
|
359
|
+
name: 'limit',
|
|
360
|
+
type: 'number',
|
|
361
|
+
default: 50,
|
|
88
362
|
typeOptions: { minValue: 1 },
|
|
89
|
-
|
|
363
|
+
hint: 'Stores to return, 1 to 50. The API default is 10.',
|
|
364
|
+
description: 'Max number of results to return',
|
|
365
|
+
routing: { request: { body: { limit: '={{ $value }}' } } },
|
|
366
|
+
},
|
|
367
|
+
],
|
|
368
|
+
},
|
|
369
|
+
// -- Additional Options: Get Coupons --
|
|
370
|
+
{
|
|
371
|
+
displayName: 'Additional Options',
|
|
372
|
+
name: 'couponOptions',
|
|
373
|
+
type: 'collection',
|
|
374
|
+
placeholder: 'Add Option',
|
|
375
|
+
default: {},
|
|
376
|
+
displayOptions: show(['coupons']),
|
|
377
|
+
options: [
|
|
378
|
+
{
|
|
379
|
+
displayName: 'Category',
|
|
380
|
+
name: 'category',
|
|
381
|
+
type: 'string',
|
|
382
|
+
default: '',
|
|
383
|
+
placeholder: 'Dairy',
|
|
384
|
+
description: "Only coupons in one department: a name from the response's categories list",
|
|
385
|
+
routing: { request: { body: { category: '={{ $value || undefined }}' } } },
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
displayName: 'Page',
|
|
389
|
+
name: 'page',
|
|
390
|
+
type: 'number',
|
|
391
|
+
default: 1,
|
|
392
|
+
typeOptions: { minValue: 1, maxValue: 50 },
|
|
393
|
+
description: 'Page of coupons, 24 per page. Follow has_more.',
|
|
90
394
|
routing: { request: { body: { page: '={{ $value }}' } } },
|
|
91
395
|
},
|
|
396
|
+
{
|
|
397
|
+
displayName: 'Text Match',
|
|
398
|
+
name: 'query',
|
|
399
|
+
type: 'string',
|
|
400
|
+
default: '',
|
|
401
|
+
placeholder: 'coffee',
|
|
402
|
+
description: 'Only coupons whose brand or text matches',
|
|
403
|
+
routing: { request: { body: { query: '={{ $value || undefined }}' } } },
|
|
404
|
+
},
|
|
405
|
+
],
|
|
406
|
+
},
|
|
407
|
+
// -- Additional Options: Get Search Suggestions --
|
|
408
|
+
{
|
|
409
|
+
displayName: 'Additional Options',
|
|
410
|
+
name: 'suggestionOptions',
|
|
411
|
+
type: 'collection',
|
|
412
|
+
placeholder: 'Add Option',
|
|
413
|
+
default: {},
|
|
414
|
+
displayOptions: show(['suggestions']),
|
|
415
|
+
options: [
|
|
416
|
+
{
|
|
417
|
+
displayName: 'Store ID',
|
|
418
|
+
name: 'store_id',
|
|
419
|
+
type: 'string',
|
|
420
|
+
default: '',
|
|
421
|
+
placeholder: '70500847',
|
|
422
|
+
description: "A store's 8-digit location_id. Without it the banner's store nearest a representative ZIP is used (Kroger 45202, QFC 98101, Fred Meyer 97201).",
|
|
423
|
+
routing: { request: { body: { store_id: '={{ $value || undefined }}' } } },
|
|
424
|
+
},
|
|
92
425
|
],
|
|
93
426
|
},
|
|
94
427
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KrogerDescription.js","sourceRoot":"","sources":["../../../../nodes/Scavio/descriptions/KrogerDescription.ts"],"names":[],"mappings":";;;AAEa,QAAA,gBAAgB,GAAsB;IAClD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE;QAClD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,aAAa;gBACnB,KAAK,EAAE,SAAS;gBAChB,MAAM,EAAE,sBAAsB;gBAC9B,WAAW,EACV,uYAAuY;gBACxY,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,wBAAwB,EAAE,EAAE;aACvE;YACD;gBACC,IAAI,EAAE,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AAa,CAAC,CAAC;QACrC,OAAO,EAAE;YACR;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,UAAU;gBACvB,WAAW,EACV,gJAAgJ;gBACjJ,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,4BAA4B,EAAE,EAAE,EAAE;aAC1E;SACD;KACD;CACD,CAAC"}
|
|
@@ -0,0 +1,534 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.olxFields = exports.olxOperations = void 0;
|
|
4
|
+
const show = (operation, extra = {}) => ({
|
|
5
|
+
show: { resource: ['olx'], operation, ...extra },
|
|
6
|
+
});
|
|
7
|
+
// OLX Europe (olx.pl, plus olx.ro, olx.pt, olx.bg, olx.ua, olx.kz and olx.uz), 9 operations, 1
|
|
8
|
+
// credit each. Get Category Filters and Get Similar Ads are pl, ro, pt, bg and ua only. Language is
|
|
9
|
+
// kz / uz only, on Search Ads, Get Seller Ads and Get Ad. A call can take up to about a minute, so
|
|
10
|
+
// every route carries a 120s timeout.
|
|
11
|
+
const request = (url) => ({
|
|
12
|
+
request: { method: 'POST', url, timeout: 120000 },
|
|
13
|
+
});
|
|
14
|
+
const ALL_MARKET_OPERATIONS = [
|
|
15
|
+
'search',
|
|
16
|
+
'offer',
|
|
17
|
+
'seller',
|
|
18
|
+
'sellerAds',
|
|
19
|
+
'categories',
|
|
20
|
+
'locations',
|
|
21
|
+
'suggestions',
|
|
22
|
+
];
|
|
23
|
+
const EU_OPERATIONS = ['filters', 'similar'];
|
|
24
|
+
const LANGUAGE_OPERATIONS = ['search', 'sellerAds', 'offer'];
|
|
25
|
+
const EU_COUNTRY_OPTIONS = [
|
|
26
|
+
{ name: 'Bulgaria (Olx.bg, EUR, Bulgarian)', value: 'bg' },
|
|
27
|
+
{ name: 'Poland (Olx.pl, PLN, Polish)', value: 'pl' },
|
|
28
|
+
{ name: 'Portugal (Olx.pt, EUR, Portuguese)', value: 'pt' },
|
|
29
|
+
{ name: 'Romania (Olx.ro, RON, Romanian)', value: 'ro' },
|
|
30
|
+
{ name: 'Ukraine (Olx.ua, UAH, Ukrainian)', value: 'ua' },
|
|
31
|
+
];
|
|
32
|
+
const COUNTRY_OPTIONS = [
|
|
33
|
+
{ name: 'Bulgaria (Olx.bg, EUR, Bulgarian)', value: 'bg' },
|
|
34
|
+
{ name: 'Kazakhstan (Olx.kz, KZT, Russian or Kazakh)', value: 'kz' },
|
|
35
|
+
{ name: 'Poland (Olx.pl, PLN, Polish)', value: 'pl' },
|
|
36
|
+
{ name: 'Portugal (Olx.pt, EUR, Portuguese)', value: 'pt' },
|
|
37
|
+
{ name: 'Romania (Olx.ro, RON, Romanian)', value: 'ro' },
|
|
38
|
+
{ name: 'Ukraine (Olx.ua, UAH, Ukrainian)', value: 'ua' },
|
|
39
|
+
{ name: 'Uzbekistan (Olx.uz, UZS, Russian or Uzbek)', value: 'uz' },
|
|
40
|
+
];
|
|
41
|
+
const SCOPE = 'OLX Europe only (olx.pl, olx.ro, olx.pt, olx.bg, olx.ua, olx.kz, olx.uz); OLX Brasil, olx.in and other OLX-branded sites are not covered.';
|
|
42
|
+
const PRICE = 'price (value, currency, negotiable, type price / free / exchange / budget, label as shown, previous_value when the seller lowered it; when the site converts a price, e.g. olx.uz y.e. to UZS, value is the converted figure and original_value with original_currency keep what the seller entered)';
|
|
43
|
+
const ITEM = 'id, URL, title, description_snippet, ' +
|
|
44
|
+
PRICE +
|
|
45
|
+
', salary (jobs: from, to, period, currency, gross), condition, params (key, name, value, normalized_value), category_id, location (city, district, region with their IDs), created_at, refreshed_at, valid_to, status, is_promoted with promoted_position (the slot on the page), is_highlighted, is_business, olx_delivery, photos and seller (ID; business_name for business sellers only)';
|
|
46
|
+
const GRID = 'Items with ' +
|
|
47
|
+
ITEM +
|
|
48
|
+
". Also total (the site's count; null on kz and uz once a search reaches 1000 ads), total_capped (true when there are more ads than the 1000 OLX lets anyone page through), total_pages, page, page_size, has_next_page, count, promoted_count, sort, applied_filters, country, language and currency.";
|
|
49
|
+
const PRIVACY = 'A seller name is returned only for business sellers (business_name); private sellers come as an ID only. No phone numbers, emails, last-seen times, profile photos or map positions are returned, and phone numbers and emails in ad text are replaced with [phone removed] / [email removed].';
|
|
50
|
+
const NOTE = "Titles, parameters and labels come back in the site's language (Polish on Poland; Russian by default on Kazakhstan and Uzbekistan). Failed upstream calls are not charged (they are retried automatically); a not-found is charged. Costs 1 credit.";
|
|
51
|
+
const GRID_OPTIONS = [
|
|
52
|
+
{
|
|
53
|
+
displayName: 'Category Filters (JSON)',
|
|
54
|
+
name: 'filters',
|
|
55
|
+
type: 'json',
|
|
56
|
+
default: '{}',
|
|
57
|
+
description: 'The category\'s own filters, as listed by Get Category Filters (send_as keys): a range filter as filter_float_<name>:from / :to with a number, a choice filter as filter_enum_<name> with one value or a list, e.g. {"filter_float_year:from": 2018, "filter_float_milage:to": 100000} or {"filter_enum_rooms": ["two", "three"]}. Up to 20 keys.',
|
|
58
|
+
routing: {
|
|
59
|
+
request: {
|
|
60
|
+
body: {
|
|
61
|
+
filters: '={{ (v => Object.keys(v || {}).length ? v : undefined)(typeof $value === "string" ? JSON.parse($value || "{}") : $value) }}',
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
displayName: 'City ID',
|
|
68
|
+
name: 'city_id',
|
|
69
|
+
type: 'string',
|
|
70
|
+
default: '',
|
|
71
|
+
placeholder: '17871',
|
|
72
|
+
description: "Only ads in this city: city_id of Search Locations or of an item's location",
|
|
73
|
+
routing: { request: { body: { city_id: '={{ $value || undefined }}' } } },
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
displayName: 'Condition',
|
|
77
|
+
name: 'condition',
|
|
78
|
+
type: 'options',
|
|
79
|
+
default: 'used',
|
|
80
|
+
options: [
|
|
81
|
+
{ name: 'Damaged', value: 'damaged' },
|
|
82
|
+
{ name: 'New', value: 'new' },
|
|
83
|
+
{ name: 'Refurbished', value: 'refurbished' },
|
|
84
|
+
{ name: 'Used', value: 'used' },
|
|
85
|
+
],
|
|
86
|
+
description: 'Only ads in this condition (in categories that have a condition)',
|
|
87
|
+
routing: { request: { body: { condition: '={{ $value }}' } } },
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
displayName: 'Distance (Km)',
|
|
91
|
+
name: 'distance_km',
|
|
92
|
+
type: 'options',
|
|
93
|
+
default: 0,
|
|
94
|
+
options: [
|
|
95
|
+
{ name: '0 Km', value: 0 },
|
|
96
|
+
{ name: '10 Km', value: 10 },
|
|
97
|
+
{ name: '100 Km', value: 100 },
|
|
98
|
+
{ name: '15 Km', value: 15 },
|
|
99
|
+
{ name: '2 Km', value: 2 },
|
|
100
|
+
{ name: '30 Km', value: 30 },
|
|
101
|
+
{ name: '5 Km', value: 5 },
|
|
102
|
+
{ name: '50 Km', value: 50 },
|
|
103
|
+
{ name: '75 Km', value: 75 },
|
|
104
|
+
],
|
|
105
|
+
description: 'With City ID: include ads within this many km of the city',
|
|
106
|
+
routing: { request: { body: { distance_km: '={{ $value }}' } } },
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
displayName: 'District ID',
|
|
110
|
+
name: 'district_id',
|
|
111
|
+
type: 'string',
|
|
112
|
+
default: '',
|
|
113
|
+
description: 'Only ads in this district of a city: district_id of Search Locations',
|
|
114
|
+
routing: { request: { body: { district_id: '={{ $value || undefined }}' } } },
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
displayName: 'Include Promoted Ads',
|
|
118
|
+
name: 'include_promoted',
|
|
119
|
+
type: 'boolean',
|
|
120
|
+
default: true,
|
|
121
|
+
description: 'Whether to keep the promoted ads the site places on each page (each is flagged is_promoted with its slot)',
|
|
122
|
+
routing: {
|
|
123
|
+
request: { body: { include_promoted: '={{ $value === false ? false : undefined }}' } },
|
|
124
|
+
},
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
displayName: 'Max Price',
|
|
128
|
+
name: 'max_price',
|
|
129
|
+
type: 'number',
|
|
130
|
+
default: 0,
|
|
131
|
+
typeOptions: { minValue: 0, numberPrecision: 2 },
|
|
132
|
+
description: "Highest price, in the site's currency",
|
|
133
|
+
routing: { request: { body: { max_price: '={{ $value }}' } } },
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
displayName: 'Min Price',
|
|
137
|
+
name: 'min_price',
|
|
138
|
+
type: 'number',
|
|
139
|
+
default: 0,
|
|
140
|
+
typeOptions: { minValue: 0, numberPrecision: 2 },
|
|
141
|
+
description: "Lowest price, in the site's currency",
|
|
142
|
+
routing: { request: { body: { min_price: '={{ $value }}' } } },
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
displayName: 'OLX Delivery Only',
|
|
146
|
+
name: 'olx_delivery',
|
|
147
|
+
type: 'boolean',
|
|
148
|
+
default: false,
|
|
149
|
+
description: 'Whether to return only ads that can be bought with OLX delivery (not on Kazakhstan or Uzbekistan)',
|
|
150
|
+
routing: { request: { body: { olx_delivery: '={{ $value || undefined }}' } } },
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
displayName: 'Page',
|
|
154
|
+
name: 'page',
|
|
155
|
+
type: 'number',
|
|
156
|
+
default: 1,
|
|
157
|
+
typeOptions: { minValue: 1, maxValue: 1000 },
|
|
158
|
+
description: 'Results page, 1-based. OLX serves the first 1000 results of a search only, so page x page size may not exceed 1000.',
|
|
159
|
+
routing: { request: { body: { page: '={{ $value }}' } } },
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
displayName: 'Page Size',
|
|
163
|
+
name: 'page_size',
|
|
164
|
+
type: 'number',
|
|
165
|
+
default: 40,
|
|
166
|
+
typeOptions: { minValue: 1, maxValue: 50 },
|
|
167
|
+
description: 'Ads per page, up to 50 (default 40). Promoted ads come on top of these (40 asks return about 52 items).',
|
|
168
|
+
routing: { request: { body: { page_size: '={{ $value }}' } } },
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
displayName: 'Photos Only',
|
|
172
|
+
name: 'with_photos',
|
|
173
|
+
type: 'boolean',
|
|
174
|
+
default: false,
|
|
175
|
+
description: 'Whether to return only ads with photos',
|
|
176
|
+
routing: { request: { body: { with_photos: '={{ $value || undefined }}' } } },
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
displayName: 'Region ID',
|
|
180
|
+
name: 'region_id',
|
|
181
|
+
type: 'string',
|
|
182
|
+
default: '',
|
|
183
|
+
description: "Only ads in this region: region_id of Search Locations or of an item's location",
|
|
184
|
+
routing: { request: { body: { region_id: '={{ $value || undefined }}' } } },
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
displayName: 'Seller Type',
|
|
188
|
+
name: 'seller_type',
|
|
189
|
+
type: 'options',
|
|
190
|
+
default: 'private',
|
|
191
|
+
options: [
|
|
192
|
+
{ name: 'Business', value: 'business' },
|
|
193
|
+
{ name: 'Private (Individuals)', value: 'private' },
|
|
194
|
+
],
|
|
195
|
+
description: 'Only private or only business sellers',
|
|
196
|
+
routing: { request: { body: { seller_type: '={{ $value }}' } } },
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
displayName: 'Sort',
|
|
200
|
+
name: 'sort',
|
|
201
|
+
type: 'options',
|
|
202
|
+
default: 'relevance',
|
|
203
|
+
options: [
|
|
204
|
+
{ name: 'Newest (Last Posted or Refreshed)', value: 'newest' },
|
|
205
|
+
{ name: 'Price: High to Low', value: 'price_high_to_low' },
|
|
206
|
+
{ name: 'Price: Low to High', value: 'price_low_to_high' },
|
|
207
|
+
{ name: 'Relevance', value: 'relevance' },
|
|
208
|
+
],
|
|
209
|
+
description: 'Relevance (default), newest (sellers can refresh an ad to the top, so this is last refresh, not first posting) or price. Promoted ads are not sorted.',
|
|
210
|
+
routing: { request: { body: { sort: '={{ $value === "relevance" ? undefined : $value }}' } } },
|
|
211
|
+
},
|
|
212
|
+
];
|
|
213
|
+
const sorted = (options) => [...options].sort((x, y) => x.displayName.localeCompare(y.displayName));
|
|
214
|
+
const isUrl = '/^https?:\\/\\//i.test($value)';
|
|
215
|
+
exports.olxOperations = [
|
|
216
|
+
{
|
|
217
|
+
displayName: 'Operation',
|
|
218
|
+
name: 'operation',
|
|
219
|
+
type: 'options',
|
|
220
|
+
noDataExpression: true,
|
|
221
|
+
displayOptions: { show: { resource: ['olx'] } },
|
|
222
|
+
options: [
|
|
223
|
+
{
|
|
224
|
+
name: 'Get Ad',
|
|
225
|
+
value: 'offer',
|
|
226
|
+
action: 'Get an olx ad',
|
|
227
|
+
description: 'One OLX ad by ID or link: title, the full description as plain text, ' +
|
|
228
|
+
PRICE +
|
|
229
|
+
", salary for jobs, condition, every parameter (a car's VIN is never returned), category with breadcrumb, all photos, location (city, district, region with IDs), created_at, refreshed_at, valid_to, status, is_active, is_promoted, olx_delivery, is_job and the seller (ID, is_business, business_name for business sellers, member_since). An ad that does not exist and an ad that has ended answer the same 404 (not found or no longer active). No view counts, phone numbers or messaging. " +
|
|
230
|
+
SCOPE +
|
|
231
|
+
' ' +
|
|
232
|
+
PRIVACY +
|
|
233
|
+
' ' +
|
|
234
|
+
NOTE,
|
|
235
|
+
routing: request('/api/v1/olx/offer'),
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
name: 'Get Categories',
|
|
239
|
+
value: 'categories',
|
|
240
|
+
action: 'Get olx categories',
|
|
241
|
+
description: "The OLX category tree of one site: ID, name, parent_id, level, path, URL, type and count (active ads), with children. Without Parent ID: the top-level categories and their direct children (children_count tells which go deeper); with Parent ID: that category's whole subtree. " +
|
|
242
|
+
NOTE,
|
|
243
|
+
routing: request('/api/v1/olx/categories'),
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
name: 'Get Category Filters',
|
|
247
|
+
value: 'filters',
|
|
248
|
+
action: 'Get olx category filters',
|
|
249
|
+
description: "The filters one OLX category offers, ready to send as Category Filters (JSON): each with key, label, type, kind (range or choice), unit, send_as (the keys to use), suggested range steps, and for choice filters every value with its label and the number of matching ads. Also the category's ad counts per region (or per city inside Region ID) and per category. Poland, Romania, Portugal, Bulgaria and Ukraine only. " +
|
|
250
|
+
NOTE,
|
|
251
|
+
routing: request('/api/v1/olx/filters'),
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
name: 'Get Search Suggestions',
|
|
255
|
+
value: 'suggestions',
|
|
256
|
+
action: 'Get olx search suggestions',
|
|
257
|
+
description: 'The suggestions the OLX search box shows for what a user typed: popular searches, each with the category it is most searched in (category_id, name and its parent categories). ' +
|
|
258
|
+
NOTE,
|
|
259
|
+
routing: request('/api/v1/olx/suggestions'),
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
name: 'Get Seller',
|
|
263
|
+
value: 'seller',
|
|
264
|
+
action: 'Get an olx seller',
|
|
265
|
+
description: "One OLX seller by ID: is_business (from the seller's own ads), business_name (business sellers only; null otherwise), member_since, active_ads (the number of live ads; null on kz and uz from 1000 ads up) and ads_url (the seller's page on OLX). OLX shows no seller ratings or reviews, so none are returned. " +
|
|
266
|
+
PRIVACY +
|
|
267
|
+
' ' +
|
|
268
|
+
NOTE,
|
|
269
|
+
routing: request('/api/v1/olx/seller'),
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
name: 'Get Seller Ads',
|
|
273
|
+
value: 'sellerAds',
|
|
274
|
+
action: 'Get olx seller ads',
|
|
275
|
+
description: "One OLX seller's live ads, with the Search Ads sorts and filters and an optional query. " +
|
|
276
|
+
GRID +
|
|
277
|
+
' ' +
|
|
278
|
+
PRIVACY +
|
|
279
|
+
' ' +
|
|
280
|
+
NOTE,
|
|
281
|
+
routing: request('/api/v1/olx/seller-ads'),
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
name: 'Get Similar Ads',
|
|
285
|
+
value: 'similar',
|
|
286
|
+
action: 'Get olx similar ads',
|
|
287
|
+
description: 'The ads OLX recommends next to one ad (about 30), in the Search Ads item shape: ' +
|
|
288
|
+
ITEM +
|
|
289
|
+
'. Also offer_id, count, country, language and currency. Poland, Romania, Portugal, Bulgaria and Ukraine only. ' +
|
|
290
|
+
PRIVACY +
|
|
291
|
+
' ' +
|
|
292
|
+
NOTE,
|
|
293
|
+
routing: request('/api/v1/olx/similar'),
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
name: 'Search Ads',
|
|
297
|
+
value: 'search',
|
|
298
|
+
action: 'Search olx ads',
|
|
299
|
+
description: "Search OLX classifieds (used goods, cars, real estate, jobs, services) by keyword and / or category: sort by newest or price; filter by price range, condition, private or business seller, OLX delivery, photos, region / city / district with a radius, and the category's own filters (rooms, area, year, mileage ... from Get Category Filters). Up to 1000 results per query (OLX's own cap). Promoted ads are interleaved and flagged. A query with no exact match returns the closest ads, never an empty list. " +
|
|
300
|
+
SCOPE +
|
|
301
|
+
' ' +
|
|
302
|
+
GRID +
|
|
303
|
+
' ' +
|
|
304
|
+
PRIVACY +
|
|
305
|
+
' ' +
|
|
306
|
+
NOTE,
|
|
307
|
+
routing: request('/api/v1/olx/search'),
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
name: 'Search Locations',
|
|
311
|
+
value: 'locations',
|
|
312
|
+
action: 'Search olx locations',
|
|
313
|
+
description: 'Place autocomplete for OLX location filters: cities and districts matching a name, with city_id, district_id and region_id to send to Search Ads, plus the municipality, county and region names. ' +
|
|
314
|
+
NOTE,
|
|
315
|
+
routing: request('/api/v1/olx/locations'),
|
|
316
|
+
},
|
|
317
|
+
],
|
|
318
|
+
default: 'search',
|
|
319
|
+
},
|
|
320
|
+
];
|
|
321
|
+
exports.olxFields = [
|
|
322
|
+
// -- Market --
|
|
323
|
+
{
|
|
324
|
+
displayName: 'Country',
|
|
325
|
+
name: 'country',
|
|
326
|
+
type: 'options',
|
|
327
|
+
default: 'pl',
|
|
328
|
+
options: COUNTRY_OPTIONS,
|
|
329
|
+
displayOptions: show(ALL_MARKET_OPERATIONS),
|
|
330
|
+
routing: { request: { body: { country: '={{ $value === "pl" ? undefined : $value }}' } } },
|
|
331
|
+
description: "The OLX Europe site. Titles and labels come in the site's language, prices in its currency.",
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
displayName: 'Country',
|
|
335
|
+
name: 'country',
|
|
336
|
+
type: 'options',
|
|
337
|
+
default: 'pl',
|
|
338
|
+
options: EU_COUNTRY_OPTIONS,
|
|
339
|
+
displayOptions: show(EU_OPERATIONS),
|
|
340
|
+
routing: { request: { body: { country: '={{ $value === "pl" ? undefined : $value }}' } } },
|
|
341
|
+
description: 'The OLX site. This operation is not available on Kazakhstan or Uzbekistan.',
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
displayName: 'Language',
|
|
345
|
+
name: 'language',
|
|
346
|
+
type: 'options',
|
|
347
|
+
default: '',
|
|
348
|
+
options: [
|
|
349
|
+
{ name: 'Site Default (Russian)', value: '' },
|
|
350
|
+
{ name: 'Kazakh', value: 'kk' },
|
|
351
|
+
{ name: 'Russian', value: 'ru' },
|
|
352
|
+
],
|
|
353
|
+
displayOptions: show(LANGUAGE_OPERATIONS, { country: ['kz'] }),
|
|
354
|
+
routing: { request: { body: { language: '={{ $value || undefined }}' } } },
|
|
355
|
+
description: 'Kazakhstan only: Russian (default) or Kazakh',
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
displayName: 'Language',
|
|
359
|
+
name: 'language',
|
|
360
|
+
type: 'options',
|
|
361
|
+
default: '',
|
|
362
|
+
options: [
|
|
363
|
+
{ name: 'Site Default (Russian)', value: '' },
|
|
364
|
+
{ name: 'Russian', value: 'ru' },
|
|
365
|
+
{ name: 'Uzbek', value: 'uz' },
|
|
366
|
+
],
|
|
367
|
+
displayOptions: show(LANGUAGE_OPERATIONS, { country: ['uz'] }),
|
|
368
|
+
routing: { request: { body: { language: '={{ $value || undefined }}' } } },
|
|
369
|
+
description: 'Uzbekistan only: Russian (default) or Uzbek',
|
|
370
|
+
},
|
|
371
|
+
// -- Search Ads --
|
|
372
|
+
{
|
|
373
|
+
displayName: 'Query',
|
|
374
|
+
name: 'query',
|
|
375
|
+
type: 'string',
|
|
376
|
+
default: '',
|
|
377
|
+
placeholder: 'iphone',
|
|
378
|
+
displayOptions: show(['search']),
|
|
379
|
+
routing: { request: { body: { query: '={{ $value || undefined }}' } } },
|
|
380
|
+
description: 'Search keywords, in any language. Query, Category ID or both: leave empty to list a whole category.',
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
displayName: 'Additional Options',
|
|
384
|
+
name: 'searchOptions',
|
|
385
|
+
type: 'collection',
|
|
386
|
+
placeholder: 'Add Option',
|
|
387
|
+
default: {},
|
|
388
|
+
displayOptions: show(['search']),
|
|
389
|
+
options: sorted([
|
|
390
|
+
{
|
|
391
|
+
displayName: 'Category ID',
|
|
392
|
+
name: 'category_id',
|
|
393
|
+
type: 'string',
|
|
394
|
+
default: '',
|
|
395
|
+
placeholder: '84',
|
|
396
|
+
description: "Search inside one category: the ID from Get Categories or an item's category_id (e.g. 84 = cars on olx.pl)",
|
|
397
|
+
routing: { request: { body: { category_id: '={{ $value || undefined }}' } } },
|
|
398
|
+
},
|
|
399
|
+
...GRID_OPTIONS,
|
|
400
|
+
]),
|
|
401
|
+
},
|
|
402
|
+
// -- Get Ad / Get Similar Ads --
|
|
403
|
+
{
|
|
404
|
+
displayName: 'Ad ID or URL',
|
|
405
|
+
name: 'offer',
|
|
406
|
+
type: 'string',
|
|
407
|
+
required: true,
|
|
408
|
+
default: '',
|
|
409
|
+
placeholder: '1107557408',
|
|
410
|
+
displayOptions: show(['offer', 'similar']),
|
|
411
|
+
routing: {
|
|
412
|
+
request: {
|
|
413
|
+
body: {
|
|
414
|
+
url: `={{ ${isUrl} ? $value : undefined }}`,
|
|
415
|
+
offer_id: `={{ ${isUrl} ? undefined : $value }}`,
|
|
416
|
+
},
|
|
417
|
+
},
|
|
418
|
+
},
|
|
419
|
+
description: 'An OLX ad ID (the ID of a search result) or an ad link on any of the seven sites',
|
|
420
|
+
},
|
|
421
|
+
// -- Get Seller / Get Seller Ads --
|
|
422
|
+
{
|
|
423
|
+
displayName: 'Seller ID',
|
|
424
|
+
name: 'user_id',
|
|
425
|
+
type: 'string',
|
|
426
|
+
required: true,
|
|
427
|
+
default: '',
|
|
428
|
+
placeholder: '2547532895',
|
|
429
|
+
displayOptions: show(['seller', 'sellerAds']),
|
|
430
|
+
routing: { request: { body: { user_id: '={{ $value }}' } } },
|
|
431
|
+
description: 'An OLX seller ID: the seller ID of a search result or of an ad',
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
displayName: 'Additional Options',
|
|
435
|
+
name: 'sellerAdsOptions',
|
|
436
|
+
type: 'collection',
|
|
437
|
+
placeholder: 'Add Option',
|
|
438
|
+
default: {},
|
|
439
|
+
displayOptions: show(['sellerAds']),
|
|
440
|
+
options: sorted([
|
|
441
|
+
{
|
|
442
|
+
displayName: 'Category ID',
|
|
443
|
+
name: 'category_id',
|
|
444
|
+
type: 'string',
|
|
445
|
+
default: '',
|
|
446
|
+
description: "Only the seller's ads in this category",
|
|
447
|
+
routing: { request: { body: { category_id: '={{ $value || undefined }}' } } },
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
displayName: 'Query',
|
|
451
|
+
name: 'query',
|
|
452
|
+
type: 'string',
|
|
453
|
+
default: '',
|
|
454
|
+
description: "Search within the seller's ads",
|
|
455
|
+
routing: { request: { body: { query: '={{ $value || undefined }}' } } },
|
|
456
|
+
},
|
|
457
|
+
...GRID_OPTIONS,
|
|
458
|
+
]),
|
|
459
|
+
},
|
|
460
|
+
// -- Get Category Filters --
|
|
461
|
+
{
|
|
462
|
+
displayName: 'Category ID',
|
|
463
|
+
name: 'category_id',
|
|
464
|
+
type: 'string',
|
|
465
|
+
required: true,
|
|
466
|
+
default: '',
|
|
467
|
+
placeholder: '14',
|
|
468
|
+
displayOptions: show(['filters']),
|
|
469
|
+
routing: { request: { body: { category_id: '={{ $value }}' } } },
|
|
470
|
+
description: 'The category ID from Get Categories, e.g. 14 = flats for sale on olx.pl, 84 = cars',
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
displayName: 'Additional Options',
|
|
474
|
+
name: 'filtersOptions',
|
|
475
|
+
type: 'collection',
|
|
476
|
+
placeholder: 'Add Option',
|
|
477
|
+
default: {},
|
|
478
|
+
displayOptions: show(['filters']),
|
|
479
|
+
options: [
|
|
480
|
+
{
|
|
481
|
+
displayName: 'Query',
|
|
482
|
+
name: 'query',
|
|
483
|
+
type: 'string',
|
|
484
|
+
default: '',
|
|
485
|
+
description: 'Count values for this keyword inside the category',
|
|
486
|
+
routing: { request: { body: { query: '={{ $value || undefined }}' } } },
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
displayName: 'Region ID',
|
|
490
|
+
name: 'region_id',
|
|
491
|
+
type: 'string',
|
|
492
|
+
default: '',
|
|
493
|
+
description: 'Count values in this region only (locations then lists its cities)',
|
|
494
|
+
routing: { request: { body: { region_id: '={{ $value || undefined }}' } } },
|
|
495
|
+
},
|
|
496
|
+
],
|
|
497
|
+
},
|
|
498
|
+
// -- Get Categories --
|
|
499
|
+
{
|
|
500
|
+
displayName: 'Parent ID',
|
|
501
|
+
name: 'parent_id',
|
|
502
|
+
type: 'string',
|
|
503
|
+
default: '',
|
|
504
|
+
placeholder: '5',
|
|
505
|
+
displayOptions: show(['categories']),
|
|
506
|
+
routing: { request: { body: { parent_id: '={{ $value || undefined }}' } } },
|
|
507
|
+
description: "Return this category's whole subtree. Leave empty for the top-level categories with their direct children.",
|
|
508
|
+
},
|
|
509
|
+
// -- Search Locations --
|
|
510
|
+
{
|
|
511
|
+
displayName: 'Place Name',
|
|
512
|
+
name: 'query',
|
|
513
|
+
type: 'string',
|
|
514
|
+
required: true,
|
|
515
|
+
default: '',
|
|
516
|
+
placeholder: 'Warszawa',
|
|
517
|
+
displayOptions: show(['locations']),
|
|
518
|
+
routing: { request: { body: { query: '={{ $value }}' } } },
|
|
519
|
+
description: 'At least 2 letters of a city or district name',
|
|
520
|
+
},
|
|
521
|
+
// -- Get Search Suggestions --
|
|
522
|
+
{
|
|
523
|
+
displayName: 'Query',
|
|
524
|
+
name: 'query',
|
|
525
|
+
type: 'string',
|
|
526
|
+
required: true,
|
|
527
|
+
default: '',
|
|
528
|
+
placeholder: 'rower',
|
|
529
|
+
displayOptions: show(['suggestions']),
|
|
530
|
+
routing: { request: { body: { query: '={{ $value }}' } } },
|
|
531
|
+
description: 'What the user has typed so far',
|
|
532
|
+
},
|
|
533
|
+
];
|
|
534
|
+
//# sourceMappingURL=OlxDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OlxDescription.js","sourceRoot":"","sources":["../../../../nodes/Scavio/descriptions/OlxDescription.ts"],"names":[],"mappings":";;;AAEA,MAAM,IAAI,GAAG,CACZ,SAAmB,EACnB,QAA0D,EAAE,EAC3D,EAAE,CAAC,CAAC;IACL,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,KAAK,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE;CAChD,CAAC,CAAC;AAEH,+FAA+F;AAC/F,oGAAoG;AACpG,mGAAmG;AACnG,sCAAsC;AACtC,MAAM,OAAO,GAAG,CAAC,GAAW,EAAE,EAAE,CAAC,CAAC;IACjC,OAAO,EAAE,EAAE,MAAM,EAAE,MAAe,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE;CAC1D,CAAC,CAAC;AAEH,MAAM,qBAAqB,GAAG;IAC7B,QAAQ;IACR,OAAO;IACP,QAAQ;IACR,WAAW;IACX,YAAY;IACZ,WAAW;IACX,aAAa;CACb,CAAC;AACF,MAAM,aAAa,GAAG,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;AAC7C,MAAM,mBAAmB,GAAG,CAAC,QAAQ,EAAE,WAAW,EAAE,OAAO,CAAC,C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
|
|
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.52.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, Fanatics, Carrefour, 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.52.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, Carrefour, Allegro, OLX, 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",
|