a small Python script that lists a youtube playlist into a google spreadsheet Yea, that was the proposed name for the repo, I have no originality, don't @ me.
requires python 3 with pip To run the source code, you need:
To be able to use this script, you need a google application created here, that has access to the Youtube API v3 and the Google Sheets API with file editing permissions. You should then get 2 thigs:
- For the
Google Spreadsheets API, you will get a file, that contains a JSON objet (you can follow this tutorial to be sure to do it right). You sould rename that fileclient.secret.jsonand place it alongside themain.pyfile. - For the
Youtube API, you will simply get a OAuth2 token, that you sould be putting in aclient.secret.txt, alongsidemain.py. After that, simply execute the script usingpython main.py.
As the YouTube and Google SpreadSheet API will surely change in the future, I will probably not update this script. This was a script I made for a very specific purpose, and I will probably not feel the need to update it anymore. You are, however, free and encouraged to make pull requests to update it yourself.