Goal is to implement some extra useful functionality using youtube data api.
Main goal is to be able to sort playlist videos by videos statistics data (views, likes, dislikes, comments)
Youtube allows to access only your own subscriptions. Main goal to see which subscriptions ara active and which aren't.
curl -Lo ~/bin/youtube-extra https://raw.githubusercontent.com/minosiants/youtube-extra/master/youtube-extra
chmod 777 ~/bin/youtube-extra
youtube-extra playlist -id {playlistId} -t {oauth token}
-id - playlist id from youtube
-t - oauth token (see instuctons below)
youtube-extra subscriptions -id {channel id} -t {oauth token}
-id - channel id from youtube
-t - oauth token (see instuctons below)
example
youtube-extra playlist -id PLLMLOC3WM2r5KDwkSRrLJ1_O6kZqlhhFt -t ya29.ImS9ByJmfJwEzLMvajfDecCxMcHUb5QEOhO_ZDi7XELLhcbzFiNb9UzwRcVqVa1KxlQU27z9xFO_m57lK1vkeC17PxVVFuFo_9Nn4YPb00aRHJbNQXhF77KMDS-Qhpo6zOFnnArf
- Go to https://tinyurl.com/vltl9p
- Execute a request in web console
- Copy token from Authorization header