You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
box-o-sand/youtube-api-poking/list-playlistitems

18 lines
362 B

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