box-o-sand/youtube-api-poking/list-subs

16 lines
316 B
Plaintext
Raw Normal View History

2016-12-31 04:16:01 +00:00
#!/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/subscriptions \
part=snippet mine=true maxResults=50
}
main "$@"