Get playlist items
Name
get_playlist_items
Description
No description available [API reference]
Parameters
Output Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Raw | Description |
---|---|---|---|---|---|
id |
DT_WSTR
|
nvarchar(272)
|
272 | False |
|
kind |
DT_WSTR
|
nvarchar(80)
|
80 | False |
|
publishedAt |
DT_DBTIMESTAMP
|
datetime
|
False |
||
channelId |
DT_WSTR
|
nvarchar(200)
|
200 | False |
|
title |
DT_WSTR
|
nvarchar(500)
|
500 | False |
|
description |
DT_NTEXT
|
nvarchar(MAX)
|
False |
||
thumbnails_default_url |
DT_WSTR
|
nvarchar(1000)
|
1000 | False |
|
thumbnails_default_width |
DT_I8
|
bigint
|
False |
||
thumbnails_default_height |
DT_I8
|
bigint
|
False |
||
thumbnails_medium_url |
DT_WSTR
|
nvarchar(1000)
|
1000 | False |
|
thumbnails_medium_width |
DT_I8
|
bigint
|
False |
||
thumbnails_medium_height |
DT_I8
|
bigint
|
False |
||
thumbnails_high_url |
DT_WSTR
|
nvarchar(1000)
|
1000 | False |
|
thumbnails_high_width |
DT_I8
|
bigint
|
False |
||
thumbnails_high_height |
DT_I8
|
bigint
|
False |
||
channelTitle |
DT_WSTR
|
nvarchar(200)
|
200 | False |
|
playlistId |
DT_WSTR
|
nvarchar(136)
|
136 | False |
|
position |
DT_I8
|
bigint
|
False |
||
resourceId_kind |
DT_WSTR
|
nvarchar(52)
|
52 | False |
|
resourceId_videoId |
DT_WSTR
|
nvarchar(50)
|
50 | False |
|
videoOwnerChannelTitle |
DT_WSTR
|
nvarchar(200)
|
200 | False |
|
videoOwnerChannelId |
DT_WSTR
|
nvarchar(96)
|
96 | False |
|
contentDetails_videoId |
DT_WSTR
|
nvarchar(50)
|
50 | False |
|
contentDetails_videoPublishedAt |
DT_DBTIMESTAMP
|
datetime
|
False |
||
status_privacyStatus |
DT_WSTR
|
nvarchar(100)
|
100 | False |
|
etag |
DT_WSTR
|
nvarchar(108)
|
108 | False |
If the column you are looking for is missing, consider customizing YouTube Connector.
Input Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Raw | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime. |
Examples
SSIS
Use YouTube Connector in API Source component to read data or in API Destination component to read/write data:
Get playlist items using API Source
YouTube
Get playlist items

Get playlist items using API Destination
YouTube
Get playlist items

ODBC application
Use these SQL queries in your ODBC application data source:
Get playlist items
SELECT * FROM get_playlist_items
WITH
(
"part" = 'contentDetails~id~snippet~status'
)
SQL Server
Use these SQL queries in SQL Server after you create a data source in Data Gateway:
Get playlist items
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM get_playlist_items
WITH
(
"part" = ''contentDetails~id~snippet~status''
)';
EXEC (@MyQuery) AT [LS_TO_YOUTUBE_IN_GATEWAY];