I
I
Ilya2014-07-12 23:21:18
Django
Ilya, 2014-07-12 23:21:18

Youtube API + Python(Django): where to get login data?

I would like to attach a library for managing a Youtube account from here:
Repository on github
It requires (or rather, the Gdata library):

YOUTUBE_AUTH_EMAIL = '[email protected]'
YOUTUBE_AUTH_PASSWORD = 'yourpassword'
YOUTUBE_DEVELOPER_KEY = 'developer key, get one from http://code.google.com/apis/youtube/dashboard/'
YOUTUBE_CLIENT_ID = 'client-id'

CLIENT_ID was taken from the link https://console.developers.google.com/project/apps...
DEVELOPER_KEY was taken from the link https://code.google.com/apis/youtube/dashboard/gwt... I
used mail and password standard, through which I go to the above sites.
However, it doesn't work.
And when I do according to the Google manual , authentication also fails.
yt_service = gdata.youtube.service.YouTubeService()
yt_service.email = '[email protected]'
yt_service.password = 'mypassword'
yt_service.source = 'my-example-application'
yt_service.ProgrammaticLogin()

Issues
Incorrect username or password

Maybe I'm not taking it and writing in the wrong place? I will be glad for any help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya, 2014-07-15
@FireGM

Found the answer to the question. Due to the enabled 2-step authentication, instead of the account password, enter the password registered on your account for your application. Register here . We get a 16-digit password and enter it. Valid not only for this library, but in general for the Google API.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question