n8n-nodes-scavio 0.6.0 → 0.7.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 -3
- package/dist/nodes/Scavio/Scavio.node.js +9 -5
- package/dist/nodes/Scavio/Scavio.node.js.map +1 -1
- package/dist/nodes/Scavio/descriptions/TikTokShopDescription.d.ts +3 -0
- package/dist/nodes/Scavio/descriptions/TikTokShopDescription.js +267 -0
- package/dist/nodes/Scavio/descriptions/TikTokShopDescription.js.map +1 -0
- package/dist/nodes/Scavio/descriptions/XDescription.d.ts +3 -0
- package/dist/nodes/Scavio/descriptions/{TwitterDescription.js → XDescription.js} +33 -33
- package/dist/nodes/Scavio/descriptions/XDescription.js.map +1 -0
- package/package.json +5 -3
- package/dist/nodes/Scavio/descriptions/TwitterDescription.d.ts +0 -3
- package/dist/nodes/Scavio/descriptions/TwitterDescription.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# n8n-nodes-scavio
|
|
2
2
|
|
|
3
|
-
This is an n8n community node. It lets you use [Scavio](https://scavio.dev) — a real-time search API for Google, Amazon, Walmart, YouTube, Reddit, TikTok, Instagram,
|
|
3
|
+
This is an n8n community node. It lets you use [Scavio](https://scavio.dev) — a real-time search API for Google, Amazon, Walmart, YouTube, Reddit, TikTok, TikTok Shop, Instagram, X, and LinkedIn — in your n8n workflows.
|
|
4
4
|
|
|
5
5
|
Scavio returns clean, structured JSON from organic search across the major discovery surfaces. Use it to power product research, sentiment monitoring, AI agent retrieval, lead enrichment, and content workflows.
|
|
6
6
|
|
|
@@ -22,11 +22,24 @@ In n8n: **Settings -> Community Nodes -> Install** -> enter `n8n-nodes-scavio`.
|
|
|
22
22
|
| YouTube | Search, Search Shorts, Search Channels, Get Suggestions, Get Video, Get Metadata, Get Comments, Get Comment Replies, Get Transcript, Get Related, Get Channel, Get Channel Videos, Get Channel Shorts, Get Channel Community, Resolve Channel, Get Streams |
|
|
23
23
|
| Reddit | Search Posts, Get Search Suggestions, Get Post, Get Post Comments, Get Comment Replies, Get Subreddit, Get Subreddit Posts, Get User, Get User Posts, Get User Comments, Get Popular, Get Trending |
|
|
24
24
|
| TikTok | Get Profile, Get User Posts, Get Video, Get Video Comments, Get Comment Replies, Search Videos, Search Users, Get Hashtag, Get Hashtag Videos, Get User Followers, Get User Followings |
|
|
25
|
+
| TikTok Shop | Search Products, Get Search Suggestions, Get Product, Get Product Reviews, Get Categories, Get Category Products, Get Shop Products, Resolve URL |
|
|
25
26
|
| Instagram | Get Profile, Get User Posts, Get User Reels, Get User Tagged, Get User Stories, Get Post, Get Post Comments, Get Comment Replies, Search Users, Search Hashtags, Get User Followers, Get User Followings |
|
|
26
|
-
|
|
|
27
|
+
| X | Search, Get Tweet, Get Tweet Comments, Get Tweet Retweeters, Get User, Get User Tweets, Get User Replies, Get User Media, Get User Followers, Get User Followings, Get Trending |
|
|
27
28
|
| LinkedIn | Get Person, Get Person About, Get Person Posts, Get Person Contact, Get Company, Get Company Posts, Get Company People, Get Company Jobs, Search People, Search Jobs, Search Posts, Get Job, Get Post, Get Post Comments |
|
|
28
29
|
| Account | Get Usage |
|
|
29
30
|
|
|
31
|
+
Two things to know about TikTok Shop before you build on it:
|
|
32
|
+
|
|
33
|
+
- **Get Product returns no price.** TikTok masks the price on the product page. Exact prices come from Search Products, Get Shop Products and Get Category Products.
|
|
34
|
+
- **Search Products -> Get Product is not a reliable pipeline.** Only about 44% of the product IDs returned by Search Products resolve on Get Product, because TikTok has no detail data for the rest. Those IDs answer with HTTP status `404` and this body:
|
|
35
|
+
|
|
36
|
+
```json
|
|
37
|
+
{ "error": "Product not found in this region.", "credits_used": 1, "credits_remaining": 997 }
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
There is no `data` key on that response, so branch on the status code — never on a data field. A `404` here is a normal outcome, not an error: skip the item rather than retrying it.
|
|
41
|
+
- **Get Product Reviews still works for many IDs Get Product cannot resolve.** Measured on 8 IDs that 404 on detail, 8 of 8 returned HTTP 200 from Get Product Reviews and 7 of 8 carried at least one review. A measured sample rather than a guarantee, but reviews are worth one call before dropping the product.
|
|
42
|
+
|
|
30
43
|
## Templates
|
|
31
44
|
|
|
32
45
|
Ready-to-use workflow templates built on this node. Find them in the [n8n template library](https://n8n.io/workflows/) (search "Scavio"), or import the JSON directly in n8n via **Workflows -> Import from File**, then attach your Scavio API credential.
|
|
@@ -84,6 +97,6 @@ The credential test calls `GET /api/v1/usage` (free) so you get instant feedback
|
|
|
84
97
|
- [Amazon Product API](https://scavio.dev/amazon-product-api) and [Walmart Product API](https://scavio.dev/walmart-product-api) — product search and details
|
|
85
98
|
- [YouTube API](https://scavio.dev/youtube-transcript-api), [TikTok API](https://scavio.dev/tiktok-api), and [Instagram API](https://scavio.dev/instagram-api) — video and social media data
|
|
86
99
|
- [Reddit API](https://scavio.dev/reddit-api) — posts and threaded comments
|
|
87
|
-
- [
|
|
100
|
+
- [X API](https://scavio.dev/x-api) and [LinkedIn API](https://scavio.dev/linkedin-api) — tweets, profiles, companies, jobs, and posts
|
|
88
101
|
|
|
89
102
|
Get a free [API key](https://dashboard.scavio.dev/sign-up) and explore the [documentation](https://scavio.dev/docs/introduction).
|
|
@@ -8,8 +8,9 @@ const WalmartDescription_1 = require("./descriptions/WalmartDescription");
|
|
|
8
8
|
const YouTubeDescription_1 = require("./descriptions/YouTubeDescription");
|
|
9
9
|
const RedditDescription_1 = require("./descriptions/RedditDescription");
|
|
10
10
|
const TikTokDescription_1 = require("./descriptions/TikTokDescription");
|
|
11
|
+
const TikTokShopDescription_1 = require("./descriptions/TikTokShopDescription");
|
|
11
12
|
const InstagramDescription_1 = require("./descriptions/InstagramDescription");
|
|
12
|
-
const
|
|
13
|
+
const XDescription_1 = require("./descriptions/XDescription");
|
|
13
14
|
const LinkedInDescription_1 = require("./descriptions/LinkedInDescription");
|
|
14
15
|
const AccountDescription_1 = require("./descriptions/AccountDescription");
|
|
15
16
|
class Scavio {
|
|
@@ -20,7 +21,7 @@ class Scavio {
|
|
|
20
21
|
group: ['transform'],
|
|
21
22
|
version: 1,
|
|
22
23
|
subtitle: '={{ $parameter["operation"] + ": " + $parameter["resource"] }}',
|
|
23
|
-
description: 'Real-time search across Google, Amazon, Walmart, YouTube, Reddit, TikTok, Instagram,
|
|
24
|
+
description: 'Real-time search across Google, Amazon, Walmart, YouTube, Reddit, TikTok, TikTok Shop, Instagram, X, and LinkedIn',
|
|
24
25
|
defaults: { name: 'Scavio' },
|
|
25
26
|
inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
26
27
|
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
@@ -47,8 +48,9 @@ class Scavio {
|
|
|
47
48
|
{ name: 'LinkedIn', value: 'linkedin' },
|
|
48
49
|
{ name: 'Reddit', value: 'reddit' },
|
|
49
50
|
{ name: 'TikTok', value: 'tiktok' },
|
|
50
|
-
{ name: '
|
|
51
|
+
{ name: 'TikTok Shop', value: 'tiktokShop' },
|
|
51
52
|
{ name: 'Walmart', value: 'walmart' },
|
|
53
|
+
{ name: 'X', value: 'x' },
|
|
52
54
|
{ name: 'YouTube', value: 'youtube' },
|
|
53
55
|
],
|
|
54
56
|
default: 'google',
|
|
@@ -65,10 +67,12 @@ class Scavio {
|
|
|
65
67
|
...RedditDescription_1.redditFields,
|
|
66
68
|
...TikTokDescription_1.tiktokOperations,
|
|
67
69
|
...TikTokDescription_1.tiktokFields,
|
|
70
|
+
...TikTokShopDescription_1.tiktokShopOperations,
|
|
71
|
+
...TikTokShopDescription_1.tiktokShopFields,
|
|
68
72
|
...InstagramDescription_1.instagramOperations,
|
|
69
73
|
...InstagramDescription_1.instagramFields,
|
|
70
|
-
...
|
|
71
|
-
...
|
|
74
|
+
...XDescription_1.xOperations,
|
|
75
|
+
...XDescription_1.xFields,
|
|
72
76
|
...LinkedInDescription_1.linkedinOperations,
|
|
73
77
|
...LinkedInDescription_1.linkedinFields,
|
|
74
78
|
...AccountDescription_1.accountOperations,
|
|
@@ -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,8EAA2F;AAC3F,
|
|
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;AAErF,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,mHAAmH;QACpH,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC5B,MAAM,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;QAClC,OAAO,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;QACnC,YAAY,EAAE,IAAI;QAClB,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;QACpD,eAAe,EAAE;YAChB,OAAO,EAAE,wBAAwB;YACjC,OAAO,EAAE;gBACR,cAAc,EAAE,kBAAkB;gBAClC,MAAM,EAAE,kBAAkB;aAC1B;SACD;QACD,UAAU,EAAE;YACX;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE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wBAmEC"}
|
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.tiktokShopFields = exports.tiktokShopOperations = void 0;
|
|
4
|
+
exports.tiktokShopOperations = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Operation',
|
|
7
|
+
name: 'operation',
|
|
8
|
+
type: 'options',
|
|
9
|
+
noDataExpression: true,
|
|
10
|
+
displayOptions: { show: { resource: ['tiktokShop'] } },
|
|
11
|
+
options: [
|
|
12
|
+
{
|
|
13
|
+
name: 'Get Categories',
|
|
14
|
+
value: 'categories',
|
|
15
|
+
action: 'Get tiktok shop categories',
|
|
16
|
+
description: 'Get the global TikTok Shop category tree: 28 top-level categories, 240 nodes, two levels deep. Category IDs are identical in every region and names are always English.',
|
|
17
|
+
routing: { request: { method: 'POST', url: '/api/v1/tiktok-shop/categories' } },
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
name: 'Get Category Products',
|
|
21
|
+
value: 'categoryProducts',
|
|
22
|
+
action: 'Get tiktok shop category products',
|
|
23
|
+
description: 'Get products listed under a category ID, with exact prices. Page size is inconsistent upstream (15 to 20), so always paginate with the returned next_cursor. Listings are shallow: has_more turning false after a few pages is the end of the listing, not an error.',
|
|
24
|
+
routing: { request: { method: 'POST', url: '/api/v1/tiktok-shop/category/products' } },
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
name: 'Get Product',
|
|
28
|
+
value: 'product',
|
|
29
|
+
action: 'Get a tiktok shop product',
|
|
30
|
+
description: 'Get full product detail: description, images, variants with stock, shipping, shop profile, category path and top reviews. This endpoint returns NO price, because TikTok masks it on the product page: exact prices come from Search Products, Get Shop Products or Get Category Products. It also resolves only about 44% of the product IDs returned by Search Products, since TikTok has no detail data for the rest. Those IDs answer with HTTP status 404 and a body of {"error": "Product not found in this region.", "credits_used": 1, "credits_remaining": N} - there is no data key at all, so branch on the status code, never on a data field. A 404 here is a normal outcome rather than an error, so skip the item instead of retrying. Get Product Reviews often still answers for an ID that Get Product cannot resolve: measured on 8 such IDs, 8 of 8 returned HTTP 200 and 7 of 8 carried at least one review (a measured sample, not a guarantee).',
|
|
31
|
+
routing: { request: { method: 'POST', url: '/api/v1/tiktok-shop/product' } },
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
name: 'Get Product Reviews',
|
|
35
|
+
value: 'productReviews',
|
|
36
|
+
action: 'Get tiktok shop product reviews',
|
|
37
|
+
description: 'Get paginated product reviews with text, images, star histogram and verified-purchase flags, up to 200 per call. The returned total_reviews drifts between calls and must not be used to compute a page count: page with has_more instead. This is also the fallback when Get Product 404s on an ID: measured on 8 such IDs, 8 of 8 returned HTTP 200 here and 7 of 8 carried at least one review (a measured sample, not a guarantee).',
|
|
38
|
+
routing: { request: { method: 'POST', url: '/api/v1/tiktok-shop/product/reviews' } },
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: 'Get Search Suggestions',
|
|
42
|
+
value: 'searchSuggestions',
|
|
43
|
+
action: 'Get tiktok shop search suggestions',
|
|
44
|
+
description: 'Get keyword autocomplete and expansion for a partial query, across 8 marketplace regions. Suggestions are not guaranteed prefix matches: a misspelling returns typo corrections, and results can include brand and shop names.',
|
|
45
|
+
routing: { request: { method: 'POST', url: '/api/v1/tiktok-shop/search/suggestions' } },
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: 'Get Shop Products',
|
|
49
|
+
value: 'shopProducts',
|
|
50
|
+
action: 'Get tiktok shop shop products',
|
|
51
|
+
description: "Get a shop's product catalog, 30 per page, with exact prices. Shop follower count, location and shop-level rating are not available here: use Get Product for the full shop profile.",
|
|
52
|
+
routing: { request: { method: 'POST', url: '/api/v1/tiktok-shop/shop/products' } },
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
name: 'Resolve URL',
|
|
56
|
+
value: 'resolve',
|
|
57
|
+
action: 'Resolve a tiktok shop URL',
|
|
58
|
+
description: 'Resolve any TikTok Shop URL or share link to a product ID or shop ID, ready to pass to the other operations. Accepts canonical product and store pages, tiktok.com/view links, affiliate share links and vt.tiktok.com short links.',
|
|
59
|
+
routing: { request: { method: 'POST', url: '/api/v1/tiktok-shop/resolve' } },
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
name: 'Search Products',
|
|
63
|
+
value: 'search',
|
|
64
|
+
action: 'Search tiktok shop products',
|
|
65
|
+
description: 'Search TikTok Shop products by keyword (US catalog), up to 30 products per page with exact prices, ratings and shop details. Paginate with the returned next_cursor and dedupe by product_id across pages.',
|
|
66
|
+
routing: { request: { method: 'POST', url: '/api/v1/tiktok-shop/search' } },
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
default: 'search',
|
|
70
|
+
},
|
|
71
|
+
];
|
|
72
|
+
exports.tiktokShopFields = [
|
|
73
|
+
// ── Shared search keyword (search, searchSuggestions) ──
|
|
74
|
+
{
|
|
75
|
+
displayName: 'Search',
|
|
76
|
+
name: 'search',
|
|
77
|
+
type: 'string',
|
|
78
|
+
required: true,
|
|
79
|
+
default: '',
|
|
80
|
+
placeholder: 'phone case',
|
|
81
|
+
displayOptions: {
|
|
82
|
+
show: { resource: ['tiktokShop'], operation: ['search', 'searchSuggestions'] },
|
|
83
|
+
},
|
|
84
|
+
routing: { request: { body: { search: '={{ $value }}' } } },
|
|
85
|
+
description: 'Keyword to search TikTok Shop for',
|
|
86
|
+
},
|
|
87
|
+
// ── Shared product_id (product, productReviews) ──
|
|
88
|
+
{
|
|
89
|
+
displayName: 'Product ID',
|
|
90
|
+
name: 'product_id',
|
|
91
|
+
type: 'string',
|
|
92
|
+
required: true,
|
|
93
|
+
default: '',
|
|
94
|
+
placeholder: '1732293553906094315',
|
|
95
|
+
displayOptions: {
|
|
96
|
+
show: { resource: ['tiktokShop'], operation: ['product', 'productReviews'] },
|
|
97
|
+
},
|
|
98
|
+
routing: { request: { body: { product_id: '={{ $value }}' } } },
|
|
99
|
+
description: 'Numeric TikTok Shop product ID. IDs from Search Products are not guaranteed to resolve on Get Product: only about 44% do, and a 404 for the rest is normal.',
|
|
100
|
+
},
|
|
101
|
+
// ── category_id (categoryProducts) ──
|
|
102
|
+
{
|
|
103
|
+
displayName: 'Category ID',
|
|
104
|
+
name: 'category_id',
|
|
105
|
+
type: 'string',
|
|
106
|
+
required: true,
|
|
107
|
+
default: '',
|
|
108
|
+
placeholder: '601450',
|
|
109
|
+
displayOptions: { show: { resource: ['tiktokShop'], operation: ['categoryProducts'] } },
|
|
110
|
+
routing: { request: { body: { category_id: '={{ $value }}' } } },
|
|
111
|
+
description: 'Category ID from Get Categories; level 1 or level 2 both work',
|
|
112
|
+
},
|
|
113
|
+
// ── shop_id (shopProducts) ──
|
|
114
|
+
{
|
|
115
|
+
displayName: 'Shop ID',
|
|
116
|
+
name: 'shop_id',
|
|
117
|
+
type: 'string',
|
|
118
|
+
required: true,
|
|
119
|
+
default: '',
|
|
120
|
+
placeholder: '7495514739648989419',
|
|
121
|
+
displayOptions: { show: { resource: ['tiktokShop'], operation: ['shopProducts'] } },
|
|
122
|
+
routing: { request: { body: { shop_id: '={{ $value }}' } } },
|
|
123
|
+
description: 'A TikTok Shop seller ID (also called seller_id elsewhere on TikTok)',
|
|
124
|
+
},
|
|
125
|
+
// ── url (resolve) ──
|
|
126
|
+
{
|
|
127
|
+
displayName: 'URL',
|
|
128
|
+
name: 'url',
|
|
129
|
+
type: 'string',
|
|
130
|
+
required: true,
|
|
131
|
+
default: '',
|
|
132
|
+
placeholder: 'https://vt.tiktok.com/ZT2AHoGsE/',
|
|
133
|
+
displayOptions: { show: { resource: ['tiktokShop'], operation: ['resolve'] } },
|
|
134
|
+
routing: { request: { body: { url: '={{ $value }}' } } },
|
|
135
|
+
description: 'TikTok Shop product page, store page or share link to resolve',
|
|
136
|
+
},
|
|
137
|
+
// ── Region: 8-region operations (searchSuggestions, product, productReviews, shopProducts) ──
|
|
138
|
+
{
|
|
139
|
+
displayName: 'Region',
|
|
140
|
+
name: 'region',
|
|
141
|
+
type: 'options',
|
|
142
|
+
default: 'US',
|
|
143
|
+
displayOptions: {
|
|
144
|
+
show: {
|
|
145
|
+
resource: ['tiktokShop'],
|
|
146
|
+
operation: ['searchSuggestions', 'product', 'productReviews', 'shopProducts'],
|
|
147
|
+
},
|
|
148
|
+
},
|
|
149
|
+
options: [
|
|
150
|
+
{ name: 'Indonesia', value: 'ID' },
|
|
151
|
+
{ name: 'Malaysia', value: 'MY' },
|
|
152
|
+
{ name: 'Philippines', value: 'PH' },
|
|
153
|
+
{ name: 'Singapore', value: 'SG' },
|
|
154
|
+
{ name: 'Thailand', value: 'TH' },
|
|
155
|
+
{ name: 'United Kingdom', value: 'GB' },
|
|
156
|
+
{ name: 'United States', value: 'US' },
|
|
157
|
+
{ name: 'Vietnam', value: 'VN' },
|
|
158
|
+
],
|
|
159
|
+
routing: { request: { body: { region: '={{ $value }}' } } },
|
|
160
|
+
description: 'Marketplace region to query',
|
|
161
|
+
},
|
|
162
|
+
// ── Region: category listings are US and GB only (categoryProducts) ──
|
|
163
|
+
{
|
|
164
|
+
displayName: 'Region',
|
|
165
|
+
name: 'region',
|
|
166
|
+
type: 'options',
|
|
167
|
+
default: 'US',
|
|
168
|
+
displayOptions: { show: { resource: ['tiktokShop'], operation: ['categoryProducts'] } },
|
|
169
|
+
options: [
|
|
170
|
+
{ name: 'United Kingdom', value: 'GB' },
|
|
171
|
+
{ name: 'United States', value: 'US' },
|
|
172
|
+
],
|
|
173
|
+
routing: { request: { body: { region: '={{ $value }}' } } },
|
|
174
|
+
description: 'Marketplace region. Category listings are served for US and GB only, and GB coverage is intermittent upstream.',
|
|
175
|
+
},
|
|
176
|
+
// ── Additional Options: cursor-only (search, categoryProducts, shopProducts) ──
|
|
177
|
+
{
|
|
178
|
+
displayName: 'Additional Options',
|
|
179
|
+
name: 'additionalOptions',
|
|
180
|
+
type: 'collection',
|
|
181
|
+
placeholder: 'Add Option',
|
|
182
|
+
default: {},
|
|
183
|
+
displayOptions: {
|
|
184
|
+
show: {
|
|
185
|
+
resource: ['tiktokShop'],
|
|
186
|
+
operation: ['search', 'categoryProducts', 'shopProducts'],
|
|
187
|
+
},
|
|
188
|
+
},
|
|
189
|
+
options: [
|
|
190
|
+
{
|
|
191
|
+
displayName: 'Cursor',
|
|
192
|
+
name: 'cursor',
|
|
193
|
+
type: 'string',
|
|
194
|
+
default: '',
|
|
195
|
+
description: "Opaque cursor from a previous response's next_cursor",
|
|
196
|
+
routing: { request: { body: { cursor: '={{ $value }}' } } },
|
|
197
|
+
},
|
|
198
|
+
],
|
|
199
|
+
},
|
|
200
|
+
// ── Additional Options: Get Product Reviews ──
|
|
201
|
+
{
|
|
202
|
+
displayName: 'Additional Options',
|
|
203
|
+
name: 'additionalOptions',
|
|
204
|
+
type: 'collection',
|
|
205
|
+
placeholder: 'Add Option',
|
|
206
|
+
default: {},
|
|
207
|
+
displayOptions: { show: { resource: ['tiktokShop'], operation: ['productReviews'] } },
|
|
208
|
+
options: [
|
|
209
|
+
{
|
|
210
|
+
displayName: 'Has Media',
|
|
211
|
+
name: 'has_media',
|
|
212
|
+
type: 'boolean',
|
|
213
|
+
default: false,
|
|
214
|
+
description: 'Whether to return only reviews carrying a photo or video. Has Media and Verified Only share one upstream filter slot: if both are set, Has Media wins and the response reports which filters were really applied.',
|
|
215
|
+
routing: { request: { body: { has_media: '={{ $value }}' } } },
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
displayName: 'Page',
|
|
219
|
+
name: 'page',
|
|
220
|
+
type: 'number',
|
|
221
|
+
default: 1,
|
|
222
|
+
typeOptions: { minValue: 1, maxValue: 500 },
|
|
223
|
+
description: '1-based page number',
|
|
224
|
+
routing: { request: { body: { page: '={{ $value }}' } } },
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
displayName: 'Page Size',
|
|
228
|
+
name: 'page_size',
|
|
229
|
+
type: 'number',
|
|
230
|
+
default: 20,
|
|
231
|
+
typeOptions: { minValue: 1, maxValue: 200 },
|
|
232
|
+
description: 'Number of reviews to return per page',
|
|
233
|
+
routing: { request: { body: { page_size: '={{ $value }}' } } },
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
displayName: 'Rating',
|
|
237
|
+
name: 'rating',
|
|
238
|
+
type: 'number',
|
|
239
|
+
default: 5,
|
|
240
|
+
typeOptions: { minValue: 1, maxValue: 5 },
|
|
241
|
+
description: 'Only return reviews with this star rating',
|
|
242
|
+
routing: { request: { body: { rating: '={{ $value }}' } } },
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
displayName: 'Sort',
|
|
246
|
+
name: 'sort',
|
|
247
|
+
type: 'options',
|
|
248
|
+
default: 'relevant',
|
|
249
|
+
options: [
|
|
250
|
+
{ name: 'Recent', value: 'recent' },
|
|
251
|
+
{ name: 'Relevant', value: 'relevant' },
|
|
252
|
+
],
|
|
253
|
+
description: 'Relevant returns text-complete, image-heavy reviews; recent is fresher but far more text-sparse',
|
|
254
|
+
routing: { request: { body: { sort: '={{ $value }}' } } },
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
displayName: 'Verified Only',
|
|
258
|
+
name: 'verified_only',
|
|
259
|
+
type: 'boolean',
|
|
260
|
+
default: false,
|
|
261
|
+
description: 'Whether to return only reviews from verified purchases',
|
|
262
|
+
routing: { request: { body: { verified_only: '={{ $value }}' } } },
|
|
263
|
+
},
|
|
264
|
+
],
|
|
265
|
+
},
|
|
266
|
+
];
|
|
267
|
+
//# sourceMappingURL=TikTokShopDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TikTokShopDescription.js","sourceRoot":"","sources":["../../../../nodes/Scavio/descriptions/TikTokShopDescription.ts"],"names":[],"mappings":";;;AAEa,QAAA,oBAAoB,GAAsB;IACtD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE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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,UAAU;gBACnB,OAAO,EAAE;oBACR,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;oBACnC,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;iBACvC;gBACD,WAAW,EACV,iGAAiG;gBAClG,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,EAAE,EAAE;aACzD;YACD;gBACC,WAAW,EAAE,eAAe;gBAC5B,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,KAAK;gBACd,WAAW,EAAE,wDAAwD;gBACrE,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE,aAAa,EAAE,eAAe,EAAE,EAAE,EAAE;aAClE;SACD;KACD;CACD,CAAC"}
|
|
@@ -1,96 +1,96 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.xFields = exports.xOperations = void 0;
|
|
4
|
+
exports.xOperations = [
|
|
5
5
|
{
|
|
6
6
|
displayName: 'Operation',
|
|
7
7
|
name: 'operation',
|
|
8
8
|
type: 'options',
|
|
9
9
|
noDataExpression: true,
|
|
10
|
-
displayOptions: { show: { resource: ['
|
|
10
|
+
displayOptions: { show: { resource: ['x'] } },
|
|
11
11
|
options: [
|
|
12
12
|
{
|
|
13
13
|
name: 'Get Trending',
|
|
14
14
|
value: 'trending',
|
|
15
|
-
action: 'Get
|
|
15
|
+
action: 'Get X trending topics',
|
|
16
16
|
description: 'Get trending topics for a country',
|
|
17
|
-
routing: { request: { method: 'POST', url: '/api/v1/
|
|
17
|
+
routing: { request: { method: 'POST', url: '/api/v1/x/trending' } },
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
name: 'Get Tweet',
|
|
21
21
|
value: 'tweet',
|
|
22
22
|
action: 'Get a tweet',
|
|
23
23
|
description: 'Get full details for a single tweet',
|
|
24
|
-
routing: { request: { method: 'POST', url: '/api/v1/
|
|
24
|
+
routing: { request: { method: 'POST', url: '/api/v1/x/tweet' } },
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
name: 'Get Tweet Comments',
|
|
28
28
|
value: 'tweetComments',
|
|
29
29
|
action: 'Get tweet comments',
|
|
30
30
|
description: 'Get replies to a tweet, ranked or chronological',
|
|
31
|
-
routing: { request: { method: 'POST', url: '/api/v1/
|
|
31
|
+
routing: { request: { method: 'POST', url: '/api/v1/x/tweet/comments' } },
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
name: 'Get Tweet Retweeters',
|
|
35
35
|
value: 'tweetRetweeters',
|
|
36
36
|
action: 'Get tweet retweeters',
|
|
37
37
|
description: 'Get the users who retweeted a tweet',
|
|
38
|
-
routing: { request: { method: 'POST', url: '/api/v1/
|
|
38
|
+
routing: { request: { method: 'POST', url: '/api/v1/x/tweet/retweeters' } },
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
name: 'Get User',
|
|
42
42
|
value: 'user',
|
|
43
|
-
action: 'Get
|
|
43
|
+
action: 'Get an X user',
|
|
44
44
|
description: 'Get profile details for a user',
|
|
45
|
-
routing: { request: { method: 'POST', url: '/api/v1/
|
|
45
|
+
routing: { request: { method: 'POST', url: '/api/v1/x/user' } },
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
48
|
name: 'Get User Followers',
|
|
49
49
|
value: 'userFollowers',
|
|
50
|
-
action: 'Get
|
|
50
|
+
action: 'Get X user followers',
|
|
51
51
|
description: "Get a user's followers",
|
|
52
|
-
routing: { request: { method: 'POST', url: '/api/v1/
|
|
52
|
+
routing: { request: { method: 'POST', url: '/api/v1/x/user/followers' } },
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
name: 'Get User Followings',
|
|
56
56
|
value: 'userFollowings',
|
|
57
|
-
action: 'Get
|
|
57
|
+
action: 'Get X user followings',
|
|
58
58
|
description: 'Get the accounts a user follows',
|
|
59
|
-
routing: { request: { method: 'POST', url: '/api/v1/
|
|
59
|
+
routing: { request: { method: 'POST', url: '/api/v1/x/user/followings' } },
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
name: 'Get User Media',
|
|
63
63
|
value: 'userMedia',
|
|
64
|
-
action: 'Get
|
|
64
|
+
action: 'Get X user media',
|
|
65
65
|
description: "Get a user's media tweets",
|
|
66
|
-
routing: { request: { method: 'POST', url: '/api/v1/
|
|
66
|
+
routing: { request: { method: 'POST', url: '/api/v1/x/user/media' } },
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
name: 'Get User Replies',
|
|
70
70
|
value: 'userReplies',
|
|
71
|
-
action: 'Get
|
|
71
|
+
action: 'Get X user replies',
|
|
72
72
|
description: "Get a user's tweets and replies",
|
|
73
|
-
routing: { request: { method: 'POST', url: '/api/v1/
|
|
73
|
+
routing: { request: { method: 'POST', url: '/api/v1/x/user/replies' } },
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
76
|
name: 'Get User Tweets',
|
|
77
77
|
value: 'userTweets',
|
|
78
|
-
action: 'Get
|
|
78
|
+
action: 'Get X user tweets',
|
|
79
79
|
description: "Get a user's tweets",
|
|
80
|
-
routing: { request: { method: 'POST', url: '/api/v1/
|
|
80
|
+
routing: { request: { method: 'POST', url: '/api/v1/x/user/tweets' } },
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
83
|
name: 'Search',
|
|
84
84
|
value: 'search',
|
|
85
|
-
action: 'Search
|
|
85
|
+
action: 'Search X',
|
|
86
86
|
description: 'Search tweets and people',
|
|
87
|
-
routing: { request: { method: 'POST', url: '/api/v1/
|
|
87
|
+
routing: { request: { method: 'POST', url: '/api/v1/x/search' } },
|
|
88
88
|
},
|
|
89
89
|
],
|
|
90
90
|
default: 'search',
|
|
91
91
|
},
|
|
92
92
|
];
|
|
93
|
-
exports.
|
|
93
|
+
exports.xFields = [
|
|
94
94
|
// ── Search keyword (search) ──
|
|
95
95
|
{
|
|
96
96
|
displayName: 'Search',
|
|
@@ -99,9 +99,9 @@ exports.twitterFields = [
|
|
|
99
99
|
required: true,
|
|
100
100
|
default: '',
|
|
101
101
|
placeholder: 'artificial intelligence',
|
|
102
|
-
displayOptions: { show: { resource: ['
|
|
102
|
+
displayOptions: { show: { resource: ['x'], operation: ['search'] } },
|
|
103
103
|
routing: { request: { body: { search: '={{ $value }}' } } },
|
|
104
|
-
description: '
|
|
104
|
+
description: 'X search query',
|
|
105
105
|
},
|
|
106
106
|
// ── Shared tweet_id (tweet, tweetComments, tweetRetweeters) ──
|
|
107
107
|
{
|
|
@@ -112,7 +112,7 @@ exports.twitterFields = [
|
|
|
112
112
|
default: '',
|
|
113
113
|
placeholder: '1808168603721650364',
|
|
114
114
|
displayOptions: {
|
|
115
|
-
show: { resource: ['
|
|
115
|
+
show: { resource: ['x'], operation: ['tweet', 'tweetComments', 'tweetRetweeters'] },
|
|
116
116
|
},
|
|
117
117
|
routing: { request: { body: { tweet_id: '={{ $value }}' } } },
|
|
118
118
|
description: 'The numeric ID of the tweet',
|
|
@@ -127,7 +127,7 @@ exports.twitterFields = [
|
|
|
127
127
|
placeholder: 'elonmusk',
|
|
128
128
|
displayOptions: {
|
|
129
129
|
show: {
|
|
130
|
-
resource: ['
|
|
130
|
+
resource: ['x'],
|
|
131
131
|
operation: [
|
|
132
132
|
'user',
|
|
133
133
|
'userTweets',
|
|
@@ -139,7 +139,7 @@ exports.twitterFields = [
|
|
|
139
139
|
},
|
|
140
140
|
},
|
|
141
141
|
routing: { request: { body: { screen_name: '={{ $value }}' } } },
|
|
142
|
-
description: '
|
|
142
|
+
description: 'An X handle without the leading @',
|
|
143
143
|
},
|
|
144
144
|
// ── Country (trending) ──
|
|
145
145
|
{
|
|
@@ -148,7 +148,7 @@ exports.twitterFields = [
|
|
|
148
148
|
type: 'string',
|
|
149
149
|
default: 'UnitedStates',
|
|
150
150
|
placeholder: 'UnitedStates',
|
|
151
|
-
displayOptions: { show: { resource: ['
|
|
151
|
+
displayOptions: { show: { resource: ['x'], operation: ['trending'] } },
|
|
152
152
|
routing: { request: { body: { country: '={{ $value }}' } } },
|
|
153
153
|
description: 'Country name to get trending topics for (default UnitedStates)',
|
|
154
154
|
},
|
|
@@ -159,7 +159,7 @@ exports.twitterFields = [
|
|
|
159
159
|
type: 'collection',
|
|
160
160
|
placeholder: 'Add Option',
|
|
161
161
|
default: {},
|
|
162
|
-
displayOptions: { show: { resource: ['
|
|
162
|
+
displayOptions: { show: { resource: ['x'], operation: ['search'] } },
|
|
163
163
|
options: [
|
|
164
164
|
{
|
|
165
165
|
displayName: 'Cursor',
|
|
@@ -193,7 +193,7 @@ exports.twitterFields = [
|
|
|
193
193
|
type: 'collection',
|
|
194
194
|
placeholder: 'Add Option',
|
|
195
195
|
default: {},
|
|
196
|
-
displayOptions: { show: { resource: ['
|
|
196
|
+
displayOptions: { show: { resource: ['x'], operation: ['tweetComments'] } },
|
|
197
197
|
options: [
|
|
198
198
|
{
|
|
199
199
|
displayName: 'Cursor',
|
|
@@ -225,7 +225,7 @@ exports.twitterFields = [
|
|
|
225
225
|
default: {},
|
|
226
226
|
displayOptions: {
|
|
227
227
|
show: {
|
|
228
|
-
resource: ['
|
|
228
|
+
resource: ['x'],
|
|
229
229
|
operation: [
|
|
230
230
|
'tweetRetweeters',
|
|
231
231
|
'userTweets',
|
|
@@ -248,4 +248,4 @@ exports.twitterFields = [
|
|
|
248
248
|
],
|
|
249
249
|
},
|
|
250
250
|
];
|
|
251
|
-
//# sourceMappingURL=
|
|
251
|
+
//# sourceMappingURL=XDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,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E,MAAM;gBACnB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,KAAK;gBACd,OAAO,EAAE;oBACR,EAAE,IAAI,EAAE,wBAAwB,EAAE,KAAK,EAAE,QAAQ,EAAE;oBACnD,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,KAAK,EAAE;iBACtC;gBACD,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,EAAE,EAAE;aACzD;SACD;KACD;IAED,6HAA6H;IAC7H;QACC,WAAW,EAAE,oBAAoB;QACjC,IAAI,EAAE,mBAAmB;QACzB,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,YAAY;QACzB,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,GAAG,CAAC;gBACf,SAAS,EAAE;oBACV,iBAAiB;oBACjB,YAAY;oBACZ,aAAa;oBACb,WAAW;oBACX,eAAe;oBACf,gBAAgB;iBAChB;aACD;SACD;QACD,OAAO,EAAE;YACR;gBACC,WAAW,EAAE,QAAQ;gBACrB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,qDAAqD;gBAClE,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE,MAAM,EAAE,eAAe,EAAE,EAAE,EAAE;aAC3D;SACD;KACD;CACD,CAAC"}
|
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 search across Google, Amazon, Walmart, YouTube, Reddit, TikTok, Instagram,
|
|
3
|
+
"version": "0.7.0",
|
|
4
|
+
"description": "n8n community node for Scavio — real-time search across Google, Amazon, Walmart, YouTube, Reddit, TikTok, TikTok Shop, Instagram, X, and LinkedIn returning structured JSON.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"n8n-community-node-package",
|
|
7
7
|
"scavio",
|
|
@@ -12,8 +12,10 @@
|
|
|
12
12
|
"youtube",
|
|
13
13
|
"reddit",
|
|
14
14
|
"tiktok",
|
|
15
|
+
"tiktok-shop",
|
|
16
|
+
"ecommerce",
|
|
15
17
|
"instagram",
|
|
16
|
-
"
|
|
18
|
+
"x",
|
|
17
19
|
"linkedin",
|
|
18
20
|
"serp",
|
|
19
21
|
"ai"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TwitterDescription.js","sourceRoot":"","sources":["../../../../nodes/Scavio/descriptions/TwitterDescription.ts"],"names":[],"mappings":";;;AAEa,QAAA,iBAAiB,GAAsB;IACnD;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,SAAS,CAAC,EAAE,EAAE;QACnD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,cAAc;gBACpB,KAAK,EAAE,UAAU;gBACjB,MAAM,EAAE,6BAA6B;gBACrC,WAAW,EAAE,mCAAmC;gBAChD,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,0BAA0B,EAAE,EAAE;aACzE;YACD;gBACC,IAAI,EAAE,WAAW;gBACjB,KAAK,EAAE,OAAO;gBACd,MAAM,EAAE,aAAa;gBACrB,WAAW,EAAE,qCAAqC;gBAClD,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,uBAAuB,EAAE,EAAE;aACtE;YACD;gBACC,IAAI,EAAE,oBAAoB;gBAC1B,KAAK,EAAE,eAAe;gBACtB,MAAM,EAAE,oBAAoB;gBAC5B,WAAW,E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