YouTube Connector
Documentation
Version: 3
Documentation
Endpoint

Get videos rating


Name

get_rating

Description

No description available [API reference]

Parameters

Parameter Label Required Options Description
id id YES
onBehalfOfContentOwner onBehalfOfContentOwner NO

Output Columns

Label Data Type (SSIS) Data Type (SQL) Length Raw Description
videoId DT_WSTR nvarchar(50) 50 False
rating DT_WSTR nvarchar(20) 20 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 videos rating using API Source

YouTube
Get videos rating
SSIS API Source - Read from table or endpoint

Get videos rating using API Destination

YouTube
Get videos rating
SSIS API Destination - Access table or endpoint

ODBC application

Use these SQL queries in your ODBC application data source:

Get videos rating

SELECT * FROM get_rating
WITH
(
    "id" = 'abcd-1234-id'
)

SQL Server

Use these SQL queries in SQL Server after you create a data source in Data Gateway:

Get videos rating

DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM get_rating
WITH
(
    "id" = ''abcd-1234-id''
)';

EXEC (@MyQuery) AT [LS_TO_YOUTUBE_IN_GATEWAY];