[Python Edinburgh] google api python libraries and oauth2

Mark Smith mark.smith at practicalpoetry.co.uk
Tue Oct 28 18:03:37 CET 2014

Hey Nick,

Sorry for the late response. Twitter used to offer a 'token' based OAuth
workflow that used to give the user a 4-digit code that they would then
enter into the terminal. Unfortunately, I don't think any OAuth service
offers a terminal-only workflow - at some point the user always needs to
open up a web-page.

It might be worth having a look at https://foauth.org/ and see if it suits
your requirements.


On 10 October 2014 22:02, Nick Apostolakis <nickapos at oncrete.gr> wrote:

> Hash: SHA1
> Hello,
> does anyone have any experience with using the google apis from a
> simple command line tool?
> Not a web app that has callback urls etc.
> I can't find any examples out there for simple command line tools.
> Everything seems to revolve around authenticating web apps.
> e.g even the relavant sections for legacy and backend application
> flows in requests-oauthlib are empty
> (http://requests-oauthlib.readthedocs.org/en/latest/oauth2_workflow.html)
> Thank you
> - --
>  --------------------------------------------------------------
>  Nick Apostolakis
>  Msc in IT, University of Glasgow
>  GPG ID: 0xBDF1848D
>  e-mail: nickapos at oncrete.gr
>  Web Site: http://nick.oncrete.gr
>  --------------------------------------------------------------
> Version: GnuPG v1
> iQEcBAEBAgAGBQJUOEl5AAoJENqXDQa98YSNYokH/1wTq2x/g7hdtUdj6dTV69kB
> u5LpyOpSR9gGBg+B1pKjvMzCEexJAEXScoguCLQZQhsJ7gDOMMq4y8i1p7xNu34i
> aHKHhcICvNrmK0JlPVS7Njf6s0At5cJSxEvm1/dnF5IXlBWXqeIyt34F+n86dtLB
> yFCnYuRcBiYaxRl9En3bkAaZ/T9PP5eCaGqwTJ17SYSA4ySO0DJz91dwWTWiNg6S
> 3hRx66rVMQA7e7Z7K+DYQE1M1RdhBB8F62WEu1LuU4hyna4P5sHAWCe9/8Wf8IQ=
> =tdcB
> _______________________________________________
> Edinburgh mailing list
> Edinburgh at python.org
> https://mail.python.org/mailman/listinfo/edinburgh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/edinburgh/attachments/20141028/e38375eb/attachment.html>

More information about the Edinburgh mailing list