[Chicago] Looking for some OAUTH2/Google API help

Carl Karsten cfkarsten at gmail.com
Sun Feb 28 19:12:47 EST 2016


On Feb 28, 2016 5:54 PM, "Carl Karsten" <carl at personnelware.com> wrote:
>
> I think I can help.
>
> I use the api to upload 1000's of videos to youtube from the CLI.  same
thing, right?
>
> Here is the blocker I ran into trying to help someone else use my code:
>
> 2. Get a client ID (defines who is running this code)
https://developers.google.com/identity/protocols/OAuth2ServiceAccount#creatinganaccount
>

Oh yeah, getting the -right- key is what trips me up.  Getting the wrong
key is easy.  I think the process is optimized for web sites that let some
random user with a goog account comment on cat vids.

> The code is here:
>
>
https://github.com/CarlFK/veyepar/blob/master/dj/lib/youtube_v3_uploader.py#L135
>
> I floundered around writing it, so I would love to spend some time with
you writing different code so maybe my code will get cleaned up a bit.
>
> What's next?
>
>
> On Sun, Feb 28, 2016 at 2:37 PM, Skip Montanaro <skip.montanaro at gmail.com>
wrote:
> >
> > Has anyone here who used OAUTH2 to validate applications with any of
> > the Google APIs? I'm sure the Python APIs themselves are no big deal,
> > but I have had zero luck getting the proper credentials to use.
> >
> > The application is to pump a bunch of email messages from one or more
> > defunct mailing list archives into Google Groups via the Groups
> > Migration API so the archives are indexable and searchable by people
> > on the net. This will not use any web interface. The plan (once I can
> > authorize) is to just pump thousands of mail messages into one or more
> > Google Groups using a console (terminal-based) application.
> >
> > Even if you have no experience with this stuff and are willing to
> > "pair program" this with the intent of figuring out how this is done
> > and creating the raw material for a soup-to-nuts blog on the process
> > (I'd be happy to write the blog post, with due credit given), let me
> > know. Perhaps there is a non-presentation ChiPy hack session coming
> > up. I see no topics given for the March 10 meeting.
> >
> > Thx,
> >
> > Skip Montanaro
> > _______________________________________________
> > Chicago mailing list
> > Chicago at python.org
> > https://mail.python.org/mailman/listinfo/chicago
>
>
>
>
> --
> Carl K
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/chicago/attachments/20160228/5f26d91f/attachment.html>


More information about the Chicago mailing list