EndPoint Get channels
Name
get_channels
Description
No description available [API reference]
Parameters
Output Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Raw | Description |
---|---|---|---|---|---|
id |
DT_WSTR
|
nvarchar(96)
|
96 | False |
|
title |
DT_WSTR
|
nvarchar(72)
|
72 | False |
|
description |
DT_WSTR
|
nvarchar(80)
|
80 | False |
|
publishedAt |
DT_DBTIMESTAMP
|
datetime
|
False |
||
thumbnails_default_url |
DT_WSTR
|
nvarchar(480)
|
480 | False |
|
thumbnails_default_width |
DT_I8
|
bigint
|
False |
||
thumbnails_default_height |
DT_I8
|
bigint
|
False |
||
thumbnails_medium_url |
DT_WSTR
|
nvarchar(484)
|
484 | False |
|
thumbnails_medium_width |
DT_I8
|
bigint
|
False |
||
thumbnails_medium_height |
DT_I8
|
bigint
|
False |
||
thumbnails_high_url |
DT_WSTR
|
nvarchar(484)
|
484 | False |
|
thumbnails_high_width |
DT_I8
|
bigint
|
False |
||
thumbnails_high_height |
DT_I8
|
bigint
|
False |
||
localized_title |
DT_WSTR
|
nvarchar(72)
|
72 | False |
|
localized_description |
DT_WSTR
|
nvarchar(80)
|
80 | False |
|
contentDetails_relatedPlaylists_likes |
DT_WSTR
|
nvarchar(8)
|
8 | False |
|
contentDetails_relatedPlaylists_uploads |
DT_WSTR
|
nvarchar(96)
|
96 | False |
|
statistics_viewCount |
DT_WSTR
|
nvarchar(8)
|
8 | False |
|
statistics_subscriberCount |
DT_WSTR
|
nvarchar(4)
|
4 | False |
|
statistics_hiddenSubscriberCount |
DT_BOOL
|
bit
|
False |
||
statistics_videoCount |
DT_WSTR
|
nvarchar(4)
|
4 | False |
|
status_privacyStatus |
DT_WSTR
|
nvarchar(24)
|
24 | False |
|
status_isLinked |
DT_BOOL
|
bit
|
False |
||
status_longUploadsStatus |
DT_WSTR
|
nvarchar(32)
|
32 | False |
|
brandingSettings_channel_title |
DT_WSTR
|
nvarchar(72)
|
72 | False |
|
auditDetails_overallGoodStanding |
DT_BOOL
|
bit
|
False |
||
auditDetails_communityGuidelinesGoodStanding |
DT_BOOL
|
bit
|
False |
||
auditDetails_copyrightStrikesGoodStanding |
DT_BOOL
|
bit
|
False |
||
auditDetails_contentIdClaimsGoodStanding |
DT_BOOL
|
bit
|
False |
||
etag |
DT_WSTR
|
nvarchar(108)
|
108 | False |
|
kind |
DT_WSTR
|
nvarchar(60)
|
60 | False |
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 channels using API Source
YouTube
Get channels

Get channels using API Destination
YouTube
Get channels

ODBC application
Use these SQL queries in your ODBC application data source:
Get channels by ids
SELECT *
FROM get_channels
WITH(
id='UC2d5diIOoCEa47p4PjpIHya,AC2d5diIOoCEa47p4PjpIHyQ,TC2d5diIOoCEa47p4PjpIHyI'
)
SQL Server
Use these SQL queries in SQL Server after you create a data source in Data Gateway:
Get channels by ids
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT *
FROM get_channels
WITH(
id=''UC2d5diIOoCEa47p4PjpIHya,AC2d5diIOoCEa47p4PjpIHyQ,TC2d5diIOoCEa47p4PjpIHyI''
)';
EXEC (@MyQuery) AT [LINKED_SERVER_TO_YOUTUBE_IN_DATA_GATEWAY];