Icon

03_Access_YouTube_REST_API

How to access YouTube REST API

This workflow accesses a few YouTube services through the Google YouTube REST API.
-"search" to retrieve videos according to selected keywords (use + to join multiple keywords).
- call "videos" to get details about a given video through its video ID.
- call "commentThreads" to get all comments for a video with a given videoID.

In order to access the data you need an API Key from Google Cloud Console enabled for Youtube REST Service.


Annotations and comments
  • Insert search keyword(s) and key API enabled for YouTube REST services
  • Call "search" service to get the list of up to 50 videos for the given search keywords
  • Call "commentThreads" service to get the list of comments for each video through videoID
  • Call "videos" service to get stats for each video through videoID
  • Aggregations & Sorting
  • To Report
  • summary stats
  • word cloud
  • keyword search "KNIME"
  • YouTube Key API
  • exclude empty comments
  • top 500 words
  • only English "en"
  • by absolute frequency descending
  • term absolute frequency
  • language detection
  • remove uninteresting features
  • send request get response
  • parse response
  • transform item into data row
  • remove rows with empty video ID
  • REST URL for Youtube API search list of movies matching keywords
  • ungroup items in JSON response
  • REST URL for Youtube API search and keywords
  • only stats
  • Rowx
  • top 10 rows
  • descending by viewCount
  • video name limited to first 50 chars
  • all Count columns

Nodes

Extensions

Links