box-o-sand/youtube-api-poking/list-playlists
2016-12-30 23:16:01 -05:00

16 lines
319 B
Bash
Executable File

#!/usr/bin/env bash
set -o errexit
main() {
source "$(dirname "${BASH_SOURCE[0]}")/functions.bash"
__googleapis_http \
"${OOM_CLIENT_ID}" \
"${OOM_CLIENT_SECRET}" \
"${OOM_YOUTUBE_REFRESH_TOKEN}" \
GET /youtube/v3/playlists \
part=contentDetails mine=true maxResults=50
}
main "$@"