After a big conference like AWS re:Invent, there are literally hundreds of videos available for all the sessions. While it would be great to watch all the videos, I just don't have that much time. To help find the most interesting videos and track my progress, I like to make a spreadsheet of the videos. This tool creates a list of all the videos, including their title, view count and a link to view the video.
To run this program, you will need the following:
- YouTube Data API Key - See the YouTube Data API Overview for more information on creating an API Key.
- YouTube Channel ID - See Understanding your channel URLs to learn more about
Channel IDs. For example, the AWS Events Channel ID is
UCdoadna9HFHsxXWhafhNvKw
. - Optionally, a range of dates you are interested in limiting results to. At this time, it appears re:Invent 2019 videos were posted between December 3 and December 26.
Before running, you need to the environment variable YOUTUBE_APIKEY
to your
YouTube Data API Key.
Then you can build and run the program:
make
./youtube-video-list \
-channel UCdoadna9HFHsxXWhafhNvKw \
-after 2019-12-01T00:00:00Z \
-before 2019-12-28T00:00:00Z
Note that this program runs each request to YouTube Data API in series, and runs two queries for every 50 videos. If your query returns a lot of videos, it could take a minute or two to return.
I wrote a Python version of this program. You can run:
pip install -r requirements.txt
python youtube-video-list.py \
--channel UCdoadna9HFHsxXWhafhNvKw \
--after 2019-12-01T00:00:00Z \
--before 2019-12-28T00:00:00Z