Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #103299 > unrolled thread

Setting up/authenticating Google API?

Started bySkip Montanaro <skip.montanaro@gmail.com>
First post2016-02-21 09:51 -0600
Last post2016-02-24 12:57 -0600
Articles 3 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  Setting up/authenticating Google API? Skip Montanaro <skip.montanaro@gmail.com> - 2016-02-21 09:51 -0600
    Re: Setting up/authenticating Google API? Arshpreet Singh <arsh840@gmail.com> - 2016-02-22 04:24 -0800
      Re: Setting up/authenticating Google API? Skip Montanaro <skip.montanaro@gmail.com> - 2016-02-24 12:57 -0600

#103299 — Setting up/authenticating Google API?

FromSkip Montanaro <skip.montanaro@gmail.com>
Date2016-02-21 09:51 -0600
SubjectSetting up/authenticating Google API?
Message-ID<mailman.9.1456069893.20994.python-list@python.org>
This isn't strictly a Python question, however... Once I get myself
authenticated, I intend to use the Python Google API to pump archived
mail messages from a few defunct mailing lists into Google Groups. I
thought it would be pretty straightforward, but my attempts a few
months ago were completely unsuccessful. I asked for help on the
relevant Google product forum but got zero assistance.

I'd really appreciate a little help with the setup. If anyone has had
successful experience with this, please contact me off-list. Once I
get something going, I'll write a blog post so others don't have the
same problems I have.

Thanks,

Skip Montanaro

[toc] | [next] | [standalone]


#103336

FromArshpreet Singh <arsh840@gmail.com>
Date2016-02-22 04:24 -0800
Message-ID<b50cdc84-45a2-41d2-bdcd-dd9433554805@googlegroups.com>
In reply to#103299
On Sunday, 21 February 2016 21:21:54 UTC+5:30, Skip Montanaro  wrote:
> This isn't strictly a Python question, however... Once I get myself
> authenticated, I intend to use the Python Google API to pump archived
> mail messages from a few defunct mailing lists into Google Groups. I
> thought it would be pretty straightforward, but my attempts a few
> months ago were completely unsuccessful. I asked for help on the
> relevant Google product forum but got zero assistance.
> 
> I'd really appreciate a little help with the setup. If anyone has had
> successful experience with this, please contact me off-list. Once I
> get something going, I'll write a blog post so others don't have the
> same problems I have.
> 
> Thanks,
> 
> Skip Montanaro

Your question seems quite cinfusing to me but I think following may is what you are asking for.(Read the source)

https://google-mail-oauth2-tools.googlecode.com/svn/trunk/python/oauth2.py

After getting the authentication you can use imaplib to get all the gmail Data.

[toc] | [prev] | [next] | [standalone]


#103455

FromSkip Montanaro <skip.montanaro@gmail.com>
Date2016-02-24 12:57 -0600
Message-ID<mailman.102.1456340285.20994.python-list@python.org>
In reply to#103336
>
> Your question seems quite cinfusing to me but I think following may is what you are asking for.(Read the source)
>
> https://google-mail-oauth2-tools.googlecode.com/svn/trunk/python/oauth2.py
>
> After getting the authentication you can use imaplib to get all the gmail Data.

Thanks, I will take a look.

Skip

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web