<p dir="ltr"><br>
On Feb 28, 2016 5:54 PM, "Carl Karsten" <<a href="mailto:carl@personnelware.com">carl@personnelware.com</a>> wrote:<br>
><br>
> I think I can help.<br>
><br>
> I use the api to upload 1000's of videos to youtube from the CLI. Â same thing, right?<br>
><br>
> Here is the blocker I ran into trying to help someone else use my code:<br>
><br>
> 2. Get a client ID (defines who is running this code) <a href="https://developers.google.com/identity/protocols/OAuth2ServiceAccount#creatinganaccount">https://developers.google.com/identity/protocols/OAuth2ServiceAccount#creatinganaccount</a><br>
></p>
<p dir="ltr">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.<br><br></p>
<p dir="ltr">> The code is here:<br>
><br>
> <a href="https://github.com/CarlFK/veyepar/blob/master/dj/lib/youtube_v3_uploader.py#L135">https://github.com/CarlFK/veyepar/blob/master/dj/lib/youtube_v3_uploader.py#L135</a><br>
><br>
> 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.<br>
><br>
> What's next?<br>
><br>
><br>
> On Sun, Feb 28, 2016 at 2:37 PM, Skip Montanaro <<a href="mailto:skip.montanaro@gmail.com">skip.montanaro@gmail.com</a>> wrote:<br>
> ><br>
> > Has anyone here who used OAUTH2 to validate applications with any of<br>
> > the Google APIs? I'm sure the Python APIs themselves are no big deal,<br>
> > but I have had zero luck getting the proper credentials to use.<br>
> ><br>
> > The application is to pump a bunch of email messages from one or more<br>
> > defunct mailing list archives into Google Groups via the Groups<br>
> > Migration API so the archives are indexable and searchable by people<br>
> > on the net. This will not use any web interface. The plan (once I can<br>
> > authorize) is to just pump thousands of mail messages into one or more<br>
> > Google Groups using a console (terminal-based) application.<br>
> ><br>
> > Even if you have no experience with this stuff and are willing to<br>
> > "pair program" this with the intent of figuring out how this is done<br>
> > and creating the raw material for a soup-to-nuts blog on the process<br>
> > (I'd be happy to write the blog post, with due credit given), let me<br>
> > know. Perhaps there is a non-presentation ChiPy hack session coming<br>
> > up. I see no topics given for the March 10 meeting.<br>
> ><br>
> > Thx,<br>
> ><br>
> > Skip Montanaro<br>
> > _______________________________________________<br>
> > Chicago mailing list<br>
> > <a href="mailto:Chicago@python.org">Chicago@python.org</a><br>
> > <a href="https://mail.python.org/mailman/listinfo/chicago">https://mail.python.org/mailman/listinfo/chicago</a><br>
><br>
><br>
><br>
><br>
> --<br>
> Carl K<br>
</p>