n8n-nodes-socialfetch 0.1.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/LICENSE +21 -0
- package/README.md +44 -0
- package/dist/credentials/SocialFetchApi.credentials.js +37 -0
- package/dist/credentials/socialfetch.svg +29 -0
- package/dist/nodes/SocialFetch/SocialFetch.node.js +41 -0
- package/dist/nodes/SocialFetch/descriptions/auth.generated.js +45 -0
- package/dist/nodes/SocialFetch/descriptions/facebook.generated.js +1625 -0
- package/dist/nodes/SocialFetch/descriptions/index.generated.js +79 -0
- package/dist/nodes/SocialFetch/descriptions/instagram.generated.js +548 -0
- package/dist/nodes/SocialFetch/descriptions/linkedin.generated.js +201 -0
- package/dist/nodes/SocialFetch/descriptions/reddit.generated.js +634 -0
- package/dist/nodes/SocialFetch/descriptions/spotify.generated.js +195 -0
- package/dist/nodes/SocialFetch/descriptions/telegram.generated.js +156 -0
- package/dist/nodes/SocialFetch/descriptions/threads.generated.js +316 -0
- package/dist/nodes/SocialFetch/descriptions/tiktok.generated.js +1797 -0
- package/dist/nodes/SocialFetch/descriptions/twitter.generated.js +606 -0
- package/dist/nodes/SocialFetch/descriptions/web.generated.js +283 -0
- package/dist/nodes/SocialFetch/descriptions/youtube.generated.js +993 -0
- package/dist/nodes/SocialFetch/shared/pagination.js +37 -0
- package/dist/nodes/SocialFetch/socialfetch.svg +29 -0
- package/package.json +61 -0
|
@@ -0,0 +1,993 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.youtube = void 0;
|
|
4
|
+
const pagination_1 = require("../shared/pagination");
|
|
5
|
+
exports.youtube = [
|
|
6
|
+
{
|
|
7
|
+
"displayName": "Operation",
|
|
8
|
+
"name": "operation",
|
|
9
|
+
"type": "options",
|
|
10
|
+
"noDataExpression": true,
|
|
11
|
+
"displayOptions": {
|
|
12
|
+
"show": {
|
|
13
|
+
"resource": [
|
|
14
|
+
"youtube"
|
|
15
|
+
]
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"default": "youtube.channel.get",
|
|
19
|
+
"options": [
|
|
20
|
+
{
|
|
21
|
+
"name": "Channel",
|
|
22
|
+
"value": "youtube.channel.get",
|
|
23
|
+
"action": "Get YouTube channel",
|
|
24
|
+
"description": "Get details for a YouTube channel.",
|
|
25
|
+
"routing": {
|
|
26
|
+
"request": {
|
|
27
|
+
"method": "GET",
|
|
28
|
+
"url": "/v1/youtube/channel"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "Channel videos",
|
|
34
|
+
"value": "youtube.channel.videos.list",
|
|
35
|
+
"action": "List YouTube channel videos",
|
|
36
|
+
"description": "Get videos published by a specific YouTube channel.",
|
|
37
|
+
"routing": {
|
|
38
|
+
"request": {
|
|
39
|
+
"method": "GET",
|
|
40
|
+
"url": "/v1/youtube/channels/videos"
|
|
41
|
+
},
|
|
42
|
+
"send": {
|
|
43
|
+
"paginate": "={{$parameter[\"returnAll\"]}}"
|
|
44
|
+
},
|
|
45
|
+
"operations": {
|
|
46
|
+
"pagination": pagination_1.cursorPagination
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "Channel shorts",
|
|
52
|
+
"value": "youtube.channel.shorts.list",
|
|
53
|
+
"action": "List YouTube channel shorts",
|
|
54
|
+
"description": "Get Shorts published by a specific YouTube channel.",
|
|
55
|
+
"routing": {
|
|
56
|
+
"request": {
|
|
57
|
+
"method": "GET",
|
|
58
|
+
"url": "/v1/youtube/channels/shorts"
|
|
59
|
+
},
|
|
60
|
+
"send": {
|
|
61
|
+
"paginate": "={{$parameter[\"returnAll\"]}}"
|
|
62
|
+
},
|
|
63
|
+
"operations": {
|
|
64
|
+
"pagination": pagination_1.cursorPagination
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "Playlist",
|
|
70
|
+
"value": "youtube.playlist.get",
|
|
71
|
+
"action": "Get YouTube playlist",
|
|
72
|
+
"description": "Get a YouTube playlist.",
|
|
73
|
+
"routing": {
|
|
74
|
+
"request": {
|
|
75
|
+
"method": "GET",
|
|
76
|
+
"url": "/v1/youtube/playlists"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "Community post",
|
|
82
|
+
"value": "youtube.community.post.get",
|
|
83
|
+
"action": "Get YouTube community post",
|
|
84
|
+
"description": "Get the contents of a YouTube community post.",
|
|
85
|
+
"routing": {
|
|
86
|
+
"request": {
|
|
87
|
+
"method": "GET",
|
|
88
|
+
"url": "/v1/youtube/community-posts"
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"name": "Search",
|
|
94
|
+
"value": "youtube.search.list",
|
|
95
|
+
"action": "Search YouTube",
|
|
96
|
+
"description": "Search YouTube.",
|
|
97
|
+
"routing": {
|
|
98
|
+
"request": {
|
|
99
|
+
"method": "GET",
|
|
100
|
+
"url": "/v1/youtube/search"
|
|
101
|
+
},
|
|
102
|
+
"send": {
|
|
103
|
+
"paginate": "={{$parameter[\"returnAll\"]}}"
|
|
104
|
+
},
|
|
105
|
+
"operations": {
|
|
106
|
+
"pagination": pagination_1.cursorPagination
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "Hashtag search",
|
|
112
|
+
"value": "youtube.search.hashtag.list",
|
|
113
|
+
"action": "Search YouTube by hashtag",
|
|
114
|
+
"description": "Search YouTube by hashtag.",
|
|
115
|
+
"routing": {
|
|
116
|
+
"request": {
|
|
117
|
+
"method": "GET",
|
|
118
|
+
"url": "/v1/youtube/search/hashtags"
|
|
119
|
+
},
|
|
120
|
+
"send": {
|
|
121
|
+
"paginate": "={{$parameter[\"returnAll\"]}}"
|
|
122
|
+
},
|
|
123
|
+
"operations": {
|
|
124
|
+
"pagination": pagination_1.cursorPagination
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"name": "Trending shorts",
|
|
130
|
+
"value": "youtube.shorts.trending.list",
|
|
131
|
+
"action": "List trending YouTube Shorts",
|
|
132
|
+
"description": "Discover currently trending YouTube Shorts.",
|
|
133
|
+
"routing": {
|
|
134
|
+
"request": {
|
|
135
|
+
"method": "GET",
|
|
136
|
+
"url": "/v1/youtube/shorts/trending"
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"name": "Video",
|
|
142
|
+
"value": "youtube.video.get",
|
|
143
|
+
"action": "Get YouTube video",
|
|
144
|
+
"description": "Get a single YouTube video.",
|
|
145
|
+
"routing": {
|
|
146
|
+
"request": {
|
|
147
|
+
"method": "GET",
|
|
148
|
+
"url": "/v1/youtube/videos"
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"name": "Comments",
|
|
154
|
+
"value": "youtube.video.comments.list",
|
|
155
|
+
"action": "List YouTube video comments",
|
|
156
|
+
"description": "Get comments on a YouTube video.",
|
|
157
|
+
"routing": {
|
|
158
|
+
"request": {
|
|
159
|
+
"method": "GET",
|
|
160
|
+
"url": "/v1/youtube/videos/comments"
|
|
161
|
+
},
|
|
162
|
+
"send": {
|
|
163
|
+
"paginate": "={{$parameter[\"returnAll\"]}}"
|
|
164
|
+
},
|
|
165
|
+
"operations": {
|
|
166
|
+
"pagination": pagination_1.cursorPagination
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"name": "Replies",
|
|
172
|
+
"value": "youtube.video.comments.replies.list",
|
|
173
|
+
"action": "List YouTube comment replies",
|
|
174
|
+
"description": "Get replies to a YouTube comment.",
|
|
175
|
+
"routing": {
|
|
176
|
+
"request": {
|
|
177
|
+
"method": "GET",
|
|
178
|
+
"url": "/v1/youtube/videos/comments/replies"
|
|
179
|
+
},
|
|
180
|
+
"send": {
|
|
181
|
+
"paginate": "={{$parameter[\"returnAll\"]}}"
|
|
182
|
+
},
|
|
183
|
+
"operations": {
|
|
184
|
+
"pagination": pagination_1.cursorPagination
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"name": "Transcript",
|
|
190
|
+
"value": "youtube.video.transcript.get",
|
|
191
|
+
"action": "Get YouTube video transcript",
|
|
192
|
+
"description": "Get the transcript for a YouTube video.",
|
|
193
|
+
"routing": {
|
|
194
|
+
"request": {
|
|
195
|
+
"method": "GET",
|
|
196
|
+
"url": "/v1/youtube/videos/transcript"
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
]
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"displayName": "Additional Fields",
|
|
204
|
+
"name": "additionalOptions",
|
|
205
|
+
"type": "collection",
|
|
206
|
+
"placeholder": "Add Field",
|
|
207
|
+
"default": {},
|
|
208
|
+
"displayOptions": {
|
|
209
|
+
"show": {
|
|
210
|
+
"resource": [
|
|
211
|
+
"youtube"
|
|
212
|
+
],
|
|
213
|
+
"operation": [
|
|
214
|
+
"youtube.channel.get"
|
|
215
|
+
]
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
"options": [
|
|
219
|
+
{
|
|
220
|
+
"displayName": "Channel Id",
|
|
221
|
+
"name": "channelId",
|
|
222
|
+
"type": "string",
|
|
223
|
+
"default": "",
|
|
224
|
+
"description": "Optional YouTube channel id for the request.",
|
|
225
|
+
"routing": {
|
|
226
|
+
"send": {
|
|
227
|
+
"type": "query",
|
|
228
|
+
"property": "channelId"
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"displayName": "Handle",
|
|
234
|
+
"name": "handle",
|
|
235
|
+
"type": "string",
|
|
236
|
+
"default": "",
|
|
237
|
+
"description": "Optional YouTube channel handle for the request.",
|
|
238
|
+
"placeholder": "e.g. n8n",
|
|
239
|
+
"routing": {
|
|
240
|
+
"send": {
|
|
241
|
+
"type": "query",
|
|
242
|
+
"property": "handle"
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"displayName": "Url",
|
|
248
|
+
"name": "url",
|
|
249
|
+
"type": "string",
|
|
250
|
+
"default": "",
|
|
251
|
+
"description": "Optional YouTube channel URL for the request.",
|
|
252
|
+
"placeholder": "e.g. https://example.com/page",
|
|
253
|
+
"routing": {
|
|
254
|
+
"send": {
|
|
255
|
+
"type": "query",
|
|
256
|
+
"property": "url"
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
]
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"displayName": "Return All",
|
|
264
|
+
"name": "returnAll",
|
|
265
|
+
"type": "boolean",
|
|
266
|
+
"default": false,
|
|
267
|
+
"description": "Whether to return all results by paginating through every page, or only the first page. Each page consumes API credits.",
|
|
268
|
+
"displayOptions": {
|
|
269
|
+
"show": {
|
|
270
|
+
"resource": [
|
|
271
|
+
"youtube"
|
|
272
|
+
],
|
|
273
|
+
"operation": [
|
|
274
|
+
"youtube.channel.videos.list"
|
|
275
|
+
]
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"displayName": "Additional Fields",
|
|
281
|
+
"name": "additionalOptions",
|
|
282
|
+
"type": "collection",
|
|
283
|
+
"placeholder": "Add Field",
|
|
284
|
+
"default": {},
|
|
285
|
+
"displayOptions": {
|
|
286
|
+
"show": {
|
|
287
|
+
"resource": [
|
|
288
|
+
"youtube"
|
|
289
|
+
],
|
|
290
|
+
"operation": [
|
|
291
|
+
"youtube.channel.videos.list"
|
|
292
|
+
]
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
"options": [
|
|
296
|
+
{
|
|
297
|
+
"displayName": "Channel Id",
|
|
298
|
+
"name": "channelId",
|
|
299
|
+
"type": "string",
|
|
300
|
+
"default": "",
|
|
301
|
+
"description": "Optional YouTube channel id for the request.",
|
|
302
|
+
"routing": {
|
|
303
|
+
"send": {
|
|
304
|
+
"type": "query",
|
|
305
|
+
"property": "channelId"
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"displayName": "Handle",
|
|
311
|
+
"name": "handle",
|
|
312
|
+
"type": "string",
|
|
313
|
+
"default": "",
|
|
314
|
+
"description": "Optional YouTube channel handle for the request.",
|
|
315
|
+
"placeholder": "e.g. n8n",
|
|
316
|
+
"routing": {
|
|
317
|
+
"send": {
|
|
318
|
+
"type": "query",
|
|
319
|
+
"property": "handle"
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"displayName": "Sort By",
|
|
325
|
+
"name": "sortBy",
|
|
326
|
+
"type": "options",
|
|
327
|
+
"options": [
|
|
328
|
+
{
|
|
329
|
+
"name": "Latest",
|
|
330
|
+
"value": "latest"
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"name": "Popular",
|
|
334
|
+
"value": "popular"
|
|
335
|
+
}
|
|
336
|
+
],
|
|
337
|
+
"default": "latest",
|
|
338
|
+
"description": "Optional sort order for the returned YouTube videos.",
|
|
339
|
+
"routing": {
|
|
340
|
+
"send": {
|
|
341
|
+
"type": "query",
|
|
342
|
+
"property": "sortBy"
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"displayName": "Include Extras",
|
|
348
|
+
"name": "includeExtras",
|
|
349
|
+
"type": "boolean",
|
|
350
|
+
"default": false,
|
|
351
|
+
"description": "Optional flag to include richer per-video metadata when available.",
|
|
352
|
+
"routing": {
|
|
353
|
+
"send": {
|
|
354
|
+
"type": "query",
|
|
355
|
+
"property": "includeExtras"
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
]
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"displayName": "Return All",
|
|
363
|
+
"name": "returnAll",
|
|
364
|
+
"type": "boolean",
|
|
365
|
+
"default": false,
|
|
366
|
+
"description": "Whether to return all results by paginating through every page, or only the first page. Each page consumes API credits.",
|
|
367
|
+
"displayOptions": {
|
|
368
|
+
"show": {
|
|
369
|
+
"resource": [
|
|
370
|
+
"youtube"
|
|
371
|
+
],
|
|
372
|
+
"operation": [
|
|
373
|
+
"youtube.channel.shorts.list"
|
|
374
|
+
]
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"displayName": "Additional Fields",
|
|
380
|
+
"name": "additionalOptions",
|
|
381
|
+
"type": "collection",
|
|
382
|
+
"placeholder": "Add Field",
|
|
383
|
+
"default": {},
|
|
384
|
+
"displayOptions": {
|
|
385
|
+
"show": {
|
|
386
|
+
"resource": [
|
|
387
|
+
"youtube"
|
|
388
|
+
],
|
|
389
|
+
"operation": [
|
|
390
|
+
"youtube.channel.shorts.list"
|
|
391
|
+
]
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
"options": [
|
|
395
|
+
{
|
|
396
|
+
"displayName": "Channel Id",
|
|
397
|
+
"name": "channelId",
|
|
398
|
+
"type": "string",
|
|
399
|
+
"default": "",
|
|
400
|
+
"description": "Optional YouTube channel id for the request.",
|
|
401
|
+
"routing": {
|
|
402
|
+
"send": {
|
|
403
|
+
"type": "query",
|
|
404
|
+
"property": "channelId"
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"displayName": "Handle",
|
|
410
|
+
"name": "handle",
|
|
411
|
+
"type": "string",
|
|
412
|
+
"default": "",
|
|
413
|
+
"description": "Optional YouTube channel handle for the request.",
|
|
414
|
+
"placeholder": "e.g. n8n",
|
|
415
|
+
"routing": {
|
|
416
|
+
"send": {
|
|
417
|
+
"type": "query",
|
|
418
|
+
"property": "handle"
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"displayName": "Sort By",
|
|
424
|
+
"name": "sortBy",
|
|
425
|
+
"type": "options",
|
|
426
|
+
"options": [
|
|
427
|
+
{
|
|
428
|
+
"name": "Latest",
|
|
429
|
+
"value": "latest"
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"name": "Popular",
|
|
433
|
+
"value": "popular"
|
|
434
|
+
}
|
|
435
|
+
],
|
|
436
|
+
"default": "latest",
|
|
437
|
+
"description": "Optional sort order for the returned YouTube Shorts.",
|
|
438
|
+
"routing": {
|
|
439
|
+
"send": {
|
|
440
|
+
"type": "query",
|
|
441
|
+
"property": "sortBy"
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
]
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"displayName": "Playlist Id",
|
|
449
|
+
"name": "playlistId",
|
|
450
|
+
"type": "string",
|
|
451
|
+
"default": "",
|
|
452
|
+
"description": "YouTube playlist id, or a YouTube playlist URL (the `list` query value is used when present).",
|
|
453
|
+
"required": true,
|
|
454
|
+
"routing": {
|
|
455
|
+
"send": {
|
|
456
|
+
"type": "query",
|
|
457
|
+
"property": "playlistId"
|
|
458
|
+
}
|
|
459
|
+
},
|
|
460
|
+
"displayOptions": {
|
|
461
|
+
"show": {
|
|
462
|
+
"resource": [
|
|
463
|
+
"youtube"
|
|
464
|
+
],
|
|
465
|
+
"operation": [
|
|
466
|
+
"youtube.playlist.get"
|
|
467
|
+
]
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"displayName": "Url",
|
|
473
|
+
"name": "url",
|
|
474
|
+
"type": "string",
|
|
475
|
+
"default": "",
|
|
476
|
+
"description": "Public YouTube community post URL.",
|
|
477
|
+
"placeholder": "e.g. https://example.com/page",
|
|
478
|
+
"required": true,
|
|
479
|
+
"routing": {
|
|
480
|
+
"send": {
|
|
481
|
+
"type": "query",
|
|
482
|
+
"property": "url"
|
|
483
|
+
}
|
|
484
|
+
},
|
|
485
|
+
"displayOptions": {
|
|
486
|
+
"show": {
|
|
487
|
+
"resource": [
|
|
488
|
+
"youtube"
|
|
489
|
+
],
|
|
490
|
+
"operation": [
|
|
491
|
+
"youtube.community.post.get"
|
|
492
|
+
]
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
"displayName": "Return All",
|
|
498
|
+
"name": "returnAll",
|
|
499
|
+
"type": "boolean",
|
|
500
|
+
"default": false,
|
|
501
|
+
"description": "Whether to return all results by paginating through every page, or only the first page. Each page consumes API credits.",
|
|
502
|
+
"displayOptions": {
|
|
503
|
+
"show": {
|
|
504
|
+
"resource": [
|
|
505
|
+
"youtube"
|
|
506
|
+
],
|
|
507
|
+
"operation": [
|
|
508
|
+
"youtube.search.list"
|
|
509
|
+
]
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
"displayName": "Query",
|
|
515
|
+
"name": "query",
|
|
516
|
+
"type": "string",
|
|
517
|
+
"default": "",
|
|
518
|
+
"description": "Search query text for YouTube content.",
|
|
519
|
+
"placeholder": "e.g. automation",
|
|
520
|
+
"required": true,
|
|
521
|
+
"routing": {
|
|
522
|
+
"send": {
|
|
523
|
+
"type": "query",
|
|
524
|
+
"property": "query"
|
|
525
|
+
}
|
|
526
|
+
},
|
|
527
|
+
"displayOptions": {
|
|
528
|
+
"show": {
|
|
529
|
+
"resource": [
|
|
530
|
+
"youtube"
|
|
531
|
+
],
|
|
532
|
+
"operation": [
|
|
533
|
+
"youtube.search.list"
|
|
534
|
+
]
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
"displayName": "Additional Fields",
|
|
540
|
+
"name": "additionalOptions",
|
|
541
|
+
"type": "collection",
|
|
542
|
+
"placeholder": "Add Field",
|
|
543
|
+
"default": {},
|
|
544
|
+
"displayOptions": {
|
|
545
|
+
"show": {
|
|
546
|
+
"resource": [
|
|
547
|
+
"youtube"
|
|
548
|
+
],
|
|
549
|
+
"operation": [
|
|
550
|
+
"youtube.search.list"
|
|
551
|
+
]
|
|
552
|
+
}
|
|
553
|
+
},
|
|
554
|
+
"options": [
|
|
555
|
+
{
|
|
556
|
+
"displayName": "Upload Date",
|
|
557
|
+
"name": "uploadDate",
|
|
558
|
+
"type": "options",
|
|
559
|
+
"options": [
|
|
560
|
+
{
|
|
561
|
+
"name": "Today",
|
|
562
|
+
"value": "today"
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
"name": "This Week",
|
|
566
|
+
"value": "this_week"
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"name": "This Month",
|
|
570
|
+
"value": "this_month"
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"name": "This Year",
|
|
574
|
+
"value": "this_year"
|
|
575
|
+
}
|
|
576
|
+
],
|
|
577
|
+
"default": "today",
|
|
578
|
+
"description": "Optional upload date filter for video results.",
|
|
579
|
+
"routing": {
|
|
580
|
+
"send": {
|
|
581
|
+
"type": "query",
|
|
582
|
+
"property": "uploadDate"
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"displayName": "Sort By",
|
|
588
|
+
"name": "sortBy",
|
|
589
|
+
"type": "options",
|
|
590
|
+
"options": [
|
|
591
|
+
{
|
|
592
|
+
"name": "Relevance",
|
|
593
|
+
"value": "relevance"
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
"name": "Popular",
|
|
597
|
+
"value": "popular"
|
|
598
|
+
}
|
|
599
|
+
],
|
|
600
|
+
"default": "relevance",
|
|
601
|
+
"description": "Optional sort order for search results.",
|
|
602
|
+
"routing": {
|
|
603
|
+
"send": {
|
|
604
|
+
"type": "query",
|
|
605
|
+
"property": "sortBy"
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"displayName": "Type",
|
|
611
|
+
"name": "type",
|
|
612
|
+
"type": "options",
|
|
613
|
+
"options": [
|
|
614
|
+
{
|
|
615
|
+
"name": "Videos",
|
|
616
|
+
"value": "videos"
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"name": "Shorts",
|
|
620
|
+
"value": "shorts"
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
"name": "Channels",
|
|
624
|
+
"value": "channels"
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"name": "Playlists",
|
|
628
|
+
"value": "playlists"
|
|
629
|
+
}
|
|
630
|
+
],
|
|
631
|
+
"default": "videos",
|
|
632
|
+
"description": "Optional content type filter for search results.",
|
|
633
|
+
"routing": {
|
|
634
|
+
"send": {
|
|
635
|
+
"type": "query",
|
|
636
|
+
"property": "type"
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
},
|
|
640
|
+
{
|
|
641
|
+
"displayName": "Duration",
|
|
642
|
+
"name": "duration",
|
|
643
|
+
"type": "options",
|
|
644
|
+
"options": [
|
|
645
|
+
{
|
|
646
|
+
"name": "Under 3 Min",
|
|
647
|
+
"value": "under_3_min"
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
"name": "Between 3 And 20 Min",
|
|
651
|
+
"value": "between_3_and_20_min"
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
"name": "Over 20 Min",
|
|
655
|
+
"value": "over_20_min"
|
|
656
|
+
}
|
|
657
|
+
],
|
|
658
|
+
"default": "under_3_min",
|
|
659
|
+
"description": "Optional duration filter for video results. Applies to videos, not shorts.",
|
|
660
|
+
"routing": {
|
|
661
|
+
"send": {
|
|
662
|
+
"type": "query",
|
|
663
|
+
"property": "duration"
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
"displayName": "Region",
|
|
669
|
+
"name": "region",
|
|
670
|
+
"type": "string",
|
|
671
|
+
"default": "",
|
|
672
|
+
"description": "Optional two-letter region code for localized search results.",
|
|
673
|
+
"routing": {
|
|
674
|
+
"send": {
|
|
675
|
+
"type": "query",
|
|
676
|
+
"property": "region"
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
"displayName": "Include Extras",
|
|
682
|
+
"name": "includeExtras",
|
|
683
|
+
"type": "boolean",
|
|
684
|
+
"default": false,
|
|
685
|
+
"description": "When true, returns richer per-video metadata when available. May increase response time.",
|
|
686
|
+
"routing": {
|
|
687
|
+
"send": {
|
|
688
|
+
"type": "query",
|
|
689
|
+
"property": "includeExtras"
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
]
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
"displayName": "Return All",
|
|
697
|
+
"name": "returnAll",
|
|
698
|
+
"type": "boolean",
|
|
699
|
+
"default": false,
|
|
700
|
+
"description": "Whether to return all results by paginating through every page, or only the first page. Each page consumes API credits.",
|
|
701
|
+
"displayOptions": {
|
|
702
|
+
"show": {
|
|
703
|
+
"resource": [
|
|
704
|
+
"youtube"
|
|
705
|
+
],
|
|
706
|
+
"operation": [
|
|
707
|
+
"youtube.search.hashtag.list"
|
|
708
|
+
]
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
},
|
|
712
|
+
{
|
|
713
|
+
"displayName": "Hashtag",
|
|
714
|
+
"name": "hashtag",
|
|
715
|
+
"type": "string",
|
|
716
|
+
"default": "",
|
|
717
|
+
"description": "Hashtag to search for. A leading # is optional.",
|
|
718
|
+
"required": true,
|
|
719
|
+
"routing": {
|
|
720
|
+
"send": {
|
|
721
|
+
"type": "query",
|
|
722
|
+
"property": "hashtag"
|
|
723
|
+
}
|
|
724
|
+
},
|
|
725
|
+
"displayOptions": {
|
|
726
|
+
"show": {
|
|
727
|
+
"resource": [
|
|
728
|
+
"youtube"
|
|
729
|
+
],
|
|
730
|
+
"operation": [
|
|
731
|
+
"youtube.search.hashtag.list"
|
|
732
|
+
]
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
"displayName": "Additional Fields",
|
|
738
|
+
"name": "additionalOptions",
|
|
739
|
+
"type": "collection",
|
|
740
|
+
"placeholder": "Add Field",
|
|
741
|
+
"default": {},
|
|
742
|
+
"displayOptions": {
|
|
743
|
+
"show": {
|
|
744
|
+
"resource": [
|
|
745
|
+
"youtube"
|
|
746
|
+
],
|
|
747
|
+
"operation": [
|
|
748
|
+
"youtube.search.hashtag.list"
|
|
749
|
+
]
|
|
750
|
+
}
|
|
751
|
+
},
|
|
752
|
+
"options": [
|
|
753
|
+
{
|
|
754
|
+
"displayName": "Type",
|
|
755
|
+
"name": "type",
|
|
756
|
+
"type": "options",
|
|
757
|
+
"options": [
|
|
758
|
+
{
|
|
759
|
+
"name": "All",
|
|
760
|
+
"value": "all"
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
"name": "Shorts",
|
|
764
|
+
"value": "shorts"
|
|
765
|
+
}
|
|
766
|
+
],
|
|
767
|
+
"default": "all",
|
|
768
|
+
"description": "Optional content filter. Use all for broad results or shorts for Shorts-focused results.",
|
|
769
|
+
"routing": {
|
|
770
|
+
"send": {
|
|
771
|
+
"type": "query",
|
|
772
|
+
"property": "type"
|
|
773
|
+
}
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
]
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
"displayName": "Url",
|
|
780
|
+
"name": "url",
|
|
781
|
+
"type": "string",
|
|
782
|
+
"default": "",
|
|
783
|
+
"description": "Link to the YouTube video. Shorts URLs are also supported.",
|
|
784
|
+
"placeholder": "e.g. https://example.com/page",
|
|
785
|
+
"required": true,
|
|
786
|
+
"routing": {
|
|
787
|
+
"send": {
|
|
788
|
+
"type": "query",
|
|
789
|
+
"property": "url"
|
|
790
|
+
}
|
|
791
|
+
},
|
|
792
|
+
"displayOptions": {
|
|
793
|
+
"show": {
|
|
794
|
+
"resource": [
|
|
795
|
+
"youtube"
|
|
796
|
+
],
|
|
797
|
+
"operation": [
|
|
798
|
+
"youtube.video.get"
|
|
799
|
+
]
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
"displayName": "Additional Fields",
|
|
805
|
+
"name": "additionalOptions",
|
|
806
|
+
"type": "collection",
|
|
807
|
+
"placeholder": "Add Field",
|
|
808
|
+
"default": {},
|
|
809
|
+
"displayOptions": {
|
|
810
|
+
"show": {
|
|
811
|
+
"resource": [
|
|
812
|
+
"youtube"
|
|
813
|
+
],
|
|
814
|
+
"operation": [
|
|
815
|
+
"youtube.video.get"
|
|
816
|
+
]
|
|
817
|
+
}
|
|
818
|
+
},
|
|
819
|
+
"options": [
|
|
820
|
+
{
|
|
821
|
+
"displayName": "Language",
|
|
822
|
+
"name": "language",
|
|
823
|
+
"type": "string",
|
|
824
|
+
"default": "",
|
|
825
|
+
"description": "Optional preferred language for returned text when the source supports localization.",
|
|
826
|
+
"routing": {
|
|
827
|
+
"send": {
|
|
828
|
+
"type": "query",
|
|
829
|
+
"property": "language"
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
]
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
"displayName": "Return All",
|
|
837
|
+
"name": "returnAll",
|
|
838
|
+
"type": "boolean",
|
|
839
|
+
"default": false,
|
|
840
|
+
"description": "Whether to return all results by paginating through every page, or only the first page. Each page consumes API credits.",
|
|
841
|
+
"displayOptions": {
|
|
842
|
+
"show": {
|
|
843
|
+
"resource": [
|
|
844
|
+
"youtube"
|
|
845
|
+
],
|
|
846
|
+
"operation": [
|
|
847
|
+
"youtube.video.comments.list"
|
|
848
|
+
]
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
},
|
|
852
|
+
{
|
|
853
|
+
"displayName": "Url",
|
|
854
|
+
"name": "url",
|
|
855
|
+
"type": "string",
|
|
856
|
+
"default": "",
|
|
857
|
+
"description": "Link to the YouTube video whose comments should be listed.",
|
|
858
|
+
"placeholder": "e.g. https://example.com/page",
|
|
859
|
+
"required": true,
|
|
860
|
+
"routing": {
|
|
861
|
+
"send": {
|
|
862
|
+
"type": "query",
|
|
863
|
+
"property": "url"
|
|
864
|
+
}
|
|
865
|
+
},
|
|
866
|
+
"displayOptions": {
|
|
867
|
+
"show": {
|
|
868
|
+
"resource": [
|
|
869
|
+
"youtube"
|
|
870
|
+
],
|
|
871
|
+
"operation": [
|
|
872
|
+
"youtube.video.comments.list"
|
|
873
|
+
]
|
|
874
|
+
}
|
|
875
|
+
}
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
"displayName": "Additional Fields",
|
|
879
|
+
"name": "additionalOptions",
|
|
880
|
+
"type": "collection",
|
|
881
|
+
"placeholder": "Add Field",
|
|
882
|
+
"default": {},
|
|
883
|
+
"displayOptions": {
|
|
884
|
+
"show": {
|
|
885
|
+
"resource": [
|
|
886
|
+
"youtube"
|
|
887
|
+
],
|
|
888
|
+
"operation": [
|
|
889
|
+
"youtube.video.comments.list"
|
|
890
|
+
]
|
|
891
|
+
}
|
|
892
|
+
},
|
|
893
|
+
"options": [
|
|
894
|
+
{
|
|
895
|
+
"displayName": "Order",
|
|
896
|
+
"name": "order",
|
|
897
|
+
"type": "options",
|
|
898
|
+
"options": [
|
|
899
|
+
{
|
|
900
|
+
"name": "Top",
|
|
901
|
+
"value": "top"
|
|
902
|
+
},
|
|
903
|
+
{
|
|
904
|
+
"name": "Newest",
|
|
905
|
+
"value": "newest"
|
|
906
|
+
}
|
|
907
|
+
],
|
|
908
|
+
"default": "top",
|
|
909
|
+
"description": "Comment sort order. `top` returns highest-ranked comments; `newest` returns the most recent comments.",
|
|
910
|
+
"routing": {
|
|
911
|
+
"send": {
|
|
912
|
+
"type": "query",
|
|
913
|
+
"property": "order"
|
|
914
|
+
}
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
]
|
|
918
|
+
},
|
|
919
|
+
{
|
|
920
|
+
"displayName": "Return All",
|
|
921
|
+
"name": "returnAll",
|
|
922
|
+
"type": "boolean",
|
|
923
|
+
"default": false,
|
|
924
|
+
"description": "Whether to return all results by paginating through every page, or only the first page. Each page consumes API credits.",
|
|
925
|
+
"displayOptions": {
|
|
926
|
+
"show": {
|
|
927
|
+
"resource": [
|
|
928
|
+
"youtube"
|
|
929
|
+
],
|
|
930
|
+
"operation": [
|
|
931
|
+
"youtube.video.comments.replies.list"
|
|
932
|
+
]
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
},
|
|
936
|
+
{
|
|
937
|
+
"displayName": "Url",
|
|
938
|
+
"name": "url",
|
|
939
|
+
"type": "string",
|
|
940
|
+
"default": "",
|
|
941
|
+
"description": "Link to the YouTube video whose transcript should be returned.",
|
|
942
|
+
"placeholder": "e.g. https://example.com/page",
|
|
943
|
+
"required": true,
|
|
944
|
+
"routing": {
|
|
945
|
+
"send": {
|
|
946
|
+
"type": "query",
|
|
947
|
+
"property": "url"
|
|
948
|
+
}
|
|
949
|
+
},
|
|
950
|
+
"displayOptions": {
|
|
951
|
+
"show": {
|
|
952
|
+
"resource": [
|
|
953
|
+
"youtube"
|
|
954
|
+
],
|
|
955
|
+
"operation": [
|
|
956
|
+
"youtube.video.transcript.get"
|
|
957
|
+
]
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
"displayName": "Additional Fields",
|
|
963
|
+
"name": "additionalOptions",
|
|
964
|
+
"type": "collection",
|
|
965
|
+
"placeholder": "Add Field",
|
|
966
|
+
"default": {},
|
|
967
|
+
"displayOptions": {
|
|
968
|
+
"show": {
|
|
969
|
+
"resource": [
|
|
970
|
+
"youtube"
|
|
971
|
+
],
|
|
972
|
+
"operation": [
|
|
973
|
+
"youtube.video.transcript.get"
|
|
974
|
+
]
|
|
975
|
+
}
|
|
976
|
+
},
|
|
977
|
+
"options": [
|
|
978
|
+
{
|
|
979
|
+
"displayName": "Language",
|
|
980
|
+
"name": "language",
|
|
981
|
+
"type": "string",
|
|
982
|
+
"default": "",
|
|
983
|
+
"description": "Optional ISO 639-1 language code (two letters) to prefer when multiple transcripts exist.",
|
|
984
|
+
"routing": {
|
|
985
|
+
"send": {
|
|
986
|
+
"type": "query",
|
|
987
|
+
"property": "language"
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
]
|
|
992
|
+
}
|
|
993
|
+
];
|