Poking at the YouTube v3 API a bit
This commit is contained in:
15
youtube-api-poking/list-channels
Executable file
15
youtube-api-poking/list-channels
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/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/channels \
|
||||
part=contentDetails mine=true maxResults=50
|
||||
}
|
||||
|
||||
main "$@"
|
Reference in New Issue
Block a user