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


Groups > comp.lang.python > #103455

Re: Setting up/authenticating Google API?

Path csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From Skip Montanaro <skip.montanaro@gmail.com>
Newsgroups comp.lang.python
Subject Re: Setting up/authenticating Google API?
Date Wed, 24 Feb 2016 12:57:56 -0600
Lines 10
Message-ID <mailman.102.1456340285.20994.python-list@python.org> (permalink)
References <mailman.9.1456069893.20994.python-list@python.org> <b50cdc84-45a2-41d2-bdcd-dd9433554805@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de UOIz2Yxa5GhQ3tmIvP0AdAo2bh9rDiv4ZYf5uCrkW4rg==
Return-Path <skip.montanaro@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.060
X-Spam-Evidence '*H*': 0.88; '*S*': 0.00; 'url:googlecode': 0.07; 'subject:skip:a 10': 0.09; 'received:io': 0.16; 'received:psf.io': 0.16; 'url:py': 0.16; 'url:svn': 0.16; 'skip': 0.18; 'seems': 0.23; 'thanks,': 0.24; 'header:In-Reply-To:1': 0.24; 'question': 0.27; 'message-id:@mail.gmail.com': 0.27; 'subject:/': 0.30; 'getting': 0.33; 'url:python': 0.33; 'received:google.com': 0.35; 'quite': 0.35; 'asking': 0.35; 'but': 0.36; 'received:209.85': 0.36; 'data.': 0.36; 'to:addr:python-list': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'received:209': 0.38; 'to:addr:python.org': 0.40; 'your': 0.60; 'to:name:python': 0.84; 'look.': 0.91; 'subject:Setting': 0.96
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=pMBLGpmm2EKt4AiMld5agYAzv5DrsSE3ch8ocl8RPN0=; b=Yfei9HNjBjGkCgyq8dPYsckGd81ECegUsqqtWL2GV5sM5jYAW09/71K2sOE3X/Y9BX /jHAXED2SKVo0AZLOSoQLvcDAZLcGxzuGE8FqAlpmjHkdrBgnp4t/NY1Ytau77ZHJ6ZC weSAhR6UmV7MnPdUcsX49Mllz0vd3wnyfLCkEfZ0hDEy3kNQMCcE/B2nHlU+86sKhKH7 qoDS8Fq5S0AnBi8H1rWVdy/xLW3mA5NblcveyRxZndFMsO/klZ5IYlTpiGd4fj4lAyeq L4rib6M9M7coqsDNgGkrOmtqPp3bwl/xbRQcyTS4EXdbGfeU8qOziWMurPVKeuYp9W29 Z0Sw==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=pMBLGpmm2EKt4AiMld5agYAzv5DrsSE3ch8ocl8RPN0=; b=b+7+pESXcU1C1roHnqGF/cxN3RACa2ck5BOG8Q+idi6vAbJ1PozeQhOq4YeRtZ5KBJ bywjxSvfTiw6soH0hvLgGpdBMpzMr32Lucm80Z3i2/douN1hhG+QRhcOqD7OZi/YceCD oUSekpI9Z9+6ldGUy7ycq0WCK4zh0DCQWwWYsHKHVmgx1pWJ54QEYbFFIBBa73D7KZ7G 367uGYgFUWVW4tbPrwX5Ob3R5XRezaBUF4zbSZqfv2LuKMSEXzrL2c9KiX3eik22Dj8I qnwCW6SuVU9Yn/la4xt4L+c+RYEXCd6qSIVARMvVV0bx2D6oGQyZB+sX6cED9vGcG7rO NMJA==
X-Gm-Message-State AG10YOSBckNJEzijrow+bgEHbCoMZcpg0djY/1fVkrkjs7r+PkaJ7IMHiNgg1QxKXcb4i6I/txWMRGTlSE9aoQ==
X-Received by 10.140.85.133 with SMTP id n5mr51182482qgd.32.1456340276958; Wed, 24 Feb 2016 10:57:56 -0800 (PST)
In-Reply-To <b50cdc84-45a2-41d2-bdcd-dd9433554805@googlegroups.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.21rc2
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:103455

Show key headers only | View raw


>
> 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

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

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

csiph-web