YouTube Extractor Tutorial


Here's a simple guide for not that simple extractor...
This guide works for Analytics API and for accounts which don't have Content Owner ID (feel free to update the site with other configs).
  1. In SAPI, create bucket sys.c-ex-youtube and in this bucket create your config table (main in this example).
  2. The config tbale needs to include these columns: endpoint, params, dataType, dataField, recursionParams, romId, api. You can find sample config for Analytics API in the attached file (you just need to fill in your Channel ID). This config will download Views per Date from 5 days ago to 1 day ago. Note: dataType is the name of the destination table, rowId can be anything uniquely defining the row in CSV file and api defines which API should be used. You can find more details in Apiary.
  3. Now you just need to let user (with sufficient privileges) to authorize YouTube extractor via this link: Just fill in the token (i.e. Master Token) and name of you configuration table (main in our example) and send the link to the user.
  4. After the authorization, you can add Extractor to the Orchestrator and run it.
That should do it!

ps: YouTube extractor, or rather YouTube API, is a bit tricky, so don't hesitate to contact our support if you encounter any issues.
Marcus Wong,
Oct 5, 2015, 5:56 AM