# youtube-claims-api-support

### How to Generate YouTube Content ID API Results from Script
Take a look at [this spreadsheet](https://docs.google.com/spreadsheets/d/1MrPubg8dlKOt_IH905HiJYKjB68IhDSwtQdth7j6OWc/edit?usp=sharing) of video IDs that have been through the Product Support process.
It has columns for the response from various YouTube Content ID API endpoints. This script helps you run through the Content ID API and improve operational efficiency while investigating multiple videos on different
Product Support issues.

1. You could run the script locally with a comma-separated list of video IDs, then update the spreadsheet referenced above for all outputs using a matching CSV format. `python bulk-reclaim-program.py <video-ids>`
Note that you'll want to configure the program with the appropriate authorization headers. (This hasn't been tested. The primary purpose is starter code for part 2.)<br><br> 
2. Ideally, this script is meant to be implemented in a formal process that can be run ad-hoc such as a Jenkins job, and output all the success and error results in bulk. This job should update the
`art_relations.youtube_channel_video_status` table with the YouTube Content ID API result data. This process hasn't been created yet. 

