{"action":"closed","issue":{"url":"https://api.github.com/repos/h2non/youtube-video-api/issues/12","labels_url":"https://api.github.com/repos/h2non/youtube-video-api/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/h2non/youtube-video-api/issues/12/comments","events_url":"https://api.github.com/repos/h2non/youtube-video-api/issues/12/events","html_url":"https://github.com/h2non/youtube-video-api/issues/12","id":68869133,"number":12,"title":"Error: Missing required param: email","user":{"login":"symbianm","id":3383599,"avatar_url":"https://avatars.githubusercontent.com/u/3383599?v=3","gravatar_id":"","url":"https://api.github.com/users/symbianm","html_url":"https://github.com/symbianm","followers_url":"https://api.github.com/users/symbianm/followers","following_url":"https://api.github.com/users/symbianm/following{/other_user}","gists_url":"https://api.github.com/users/symbianm/gists{/gist_id}","starred_url":"https://api.github.com/users/symbianm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symbianm/subscriptions","organizations_url":"https://api.github.com/users/symbianm/orgs","repos_url":"https://api.github.com/users/symbianm/repos","events_url":"https://api.github.com/users/symbianm/events{/privacy}","received_events_url":"https://api.github.com/users/symbianm/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-16T08:08:01Z","updated_at":"2015-04-16T09:01:32Z","closed_at":"2015-04-16T09:01:32Z","body":"I have an error \"Missing required param: email\" if I init youtube in this way:\r\n```\r\n var youtube = Youtube({\r\n        video: {\r\n            part: 'status,snippet'\r\n        },\r\n        email: 'some email',\r\n        password: 'some pass'\r\n    });\r\n```\r\nIf you fix lines 117 and 118 in index.js file to these, it will work\r\n```\r\nemail: this.opts.email || process.env.GOOGLE_LOGIN_EMAIL,\r\npassword: this.opts.password || process.env.GOOGLE_LOGIN_PASSWORD,\r\n```\r\n"}}