Commit
Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update script options, functionality, docs, auth
Browse files
Browse the repository at this point in the history
Functionality updates:
- Add ability to run script for channel ID or content owner
- Add option to set filters
- Change default metrics, remove default max results
- Remove additional call to YouTube Data API to get channel ID and just set ids=channel==MINE
- Add function to properly set "ids" parameter depending on whether content-owner or channel-id command-line arguments are set
- Pass API request parameters as keyword arguments (**args) rather than listing them line by line
The functionality in the script is more thoroughly documented. Also see the Prerequisites section of the README file for more information about running this sample.
Finally, the oauth2client library is deprecated. This update changes the sample to use the google-auth and google-auth-oauthlib libraries instead.
- Loading branch information
You can’t perform that action at this time.