How can I get authenticated user email using Youtube API?
I tried using channels.list
:
GET https://www.googleapis.com/youtube/v3/channels?part=brandingSettings&mine=true&key={YOUR_API_KEY}
It doesn't return the email...
I communicate with Youtube API using this NodeJS module:
var Youtube = require("youtube-api");
Youtube.authenticate({
type: "oauth",
token: ACCESS_TOKEN
});
Youtube.channels.list({
"part": "brandingSettings",
"mine": true
}, function (err, data) {
console.log(err, data);
});