<div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Alex,</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br>
</span></div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">This looks like the best lead I've gotten in days!!! Thank you (I didn't find this when looking).</span><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">My business deliverable/deadline is past and I was able to get something working without Oauth2 (it worked. But the engineering wasn't nearly as good. And, that makes me sad).</div>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
I'll go over this now for my own benefit so I understand and am not rewriting the wheel... Who knows, maybe when I revisit this project, I can get a time allowance to make this work with OAuth2.</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
Thanks!!!!</div><div><br></div><div><br></div><div><br></div>Glen<div><br><div class="gmail_quote">On Wed, Aug 22, 2012 at 10:31 AM, Alex Martelli <span dir="ltr"><<a href="mailto:aleax@google.com" target="_blank">aleax@google.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Haven't checked it out, but doesn't<br>
<a href="http://googleappsdeveloper.blogspot.com/2011/09/python-oauth-20-google-data-apis.html" target="_blank">http://googleappsdeveloper.blogspot.com/2011/09/python-oauth-20-google-data-apis.html</a><br>
help...?<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
Alex<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Sun, Aug 19, 2012 at 5:45 PM, Glen Jarvis <<a href="mailto:glen@glenjarvis.com">glen@glenjarvis.com</a>> wrote:<br>
> I give.. I assume I'm going to have to write my own data type library (or<br>
> hack the old one) so that I can do oath. If that's incredibly silly and<br>
> already done, please someone stop me...<br>
><br>
><br>
> G<br>
><br>
><br>
> On Sun, Aug 19, 2012 at 1:19 PM, Glen Jarvis <<a href="mailto:glen@glenjarvis.com">glen@glenjarvis.com</a>> wrote:<br>
>><br>
>> I'm going to take another stab at this. I have written a program with a<br>
>> Google library called 'gdata.' When I wrote the program, it was a fairly<br>
>> small project and it was acceptable (although I didn't really like it) to<br>
>> put a username and a password in an external file and then read that file<br>
>> into the program and authenticate. This is how the gdata library seems to<br>
>> work (at least to the best of my knowledge (although I do think they support<br>
>> Oauth1 so I may have used that).<br>
>><br>
>> Success brings it's own problems. I want to scale this program up many<br>
>> *many* times more than it's running now. Instead of a single gdata query<br>
>> running every six minutes or so, it now will run in bursts of 5K at a time.<br>
>> Possibly around 6K spread over an hour every hour.<br>
>><br>
>> When seeing what would still work, the automatic program receives a<br>
>> "Captcha" assertion. I couldn't find what Google's limits were that caused<br>
>> this, but I received it just after a burst of 10 queries.<br>
>><br>
>> Reading Google's online documentation, I need to use Oath2 for all of<br>
>> these services. Great! I like this -- especially the API console that's<br>
>> available to me (I'm using the Google Drive/Google Spreadsheet API). I have<br>
>> successfully used Google's oauth2client client library to authenticate and<br>
>> use Oauth2.<br>
>><br>
>> However, my problem is that I can't stick these two libraries together. I<br>
>> don't see an easy way (or at least the designed way) to do this. I'm hoping<br>
>> that I'm missing something obvious and that I just need to learn how to<br>
>> interface with gdata better. It's a time crunch project (aren't they all)<br>
>> and so I really hadn't had the time to learn the gdata library well enough.<br>
>><br>
>> Has anyone tried to stick these two libraries together? It seems something<br>
>> that I imagine many people are needing to do. Since I don't see a lot of<br>
>> Google responses/questions to this, I can only imagine I'm missing something<br>
>> painfully obvious and easy.<br>
>><br>
>> So, for my second stab at asking, has anyone encountered this? Or, better<br>
>> yet, has anyone interface gdata with oauth2client python libraries?<br>
>><br>
>><br>
>> Cheers,<br>
>><br>
>><br>
>> Glen<br>
>><br>
>><br>
>><br>
>> On Thu, Aug 16, 2012 at 5:36 PM, Glen Jarvis <<a href="mailto:glen@glenjarvis.com">glen@glenjarvis.com</a>> wrote:<br>
>>><br>
>>> Has anyone tried to use the gdata.spreadsheet.service with Google's<br>
>>> Oauth2?<br>
>>><br>
>>> I have a service that I've written that uses gdata.spreadsheet.service.<br>
>>> It used to use ProgrammaticLogin. I want to convert this to Oauth2. I<br>
>>> thought there would be work already in this area by now. But, I'm not<br>
>>> finding it.<br>
>>><br>
>>> Has anyone else ran into this?<br>
>>><br>
>>><br>
>>> Cheers,<br>
>>><br>
>>><br>
>>> Glen<br>
>>> --<br>
>>><br>
>>> "Pursue, keep up with, circle round and round your life as a dog does his<br>
>>> master's chase. Do what you love. Know your own bone; gnaw at it, bury it,<br>
>>> unearth it, and gnaw it still."<br>
>>><br>
>>> --Henry David Thoreau<br>
>>><br>
>>><br>
>><br>
>><br>
>><br>
>> --<br>
>><br>
>> "Pursue, keep up with, circle round and round your life as a dog does his<br>
>> master's chase. Do what you love. Know your own bone; gnaw at it, bury it,<br>
>> unearth it, and gnaw it still."<br>
>><br>
>> --Henry David Thoreau<br>
>><br>
>><br>
><br>
><br>
><br>
> --<br>
><br>
> "Pursue, keep up with, circle round and round your life as a dog does his<br>
> master's chase. Do what you love. Know your own bone; gnaw at it, bury it,<br>
> unearth it, and gnaw it still."<br>
><br>
> --Henry David Thoreau<br>
><br>
><br>
><br>
</div></div><div class="HOEnZb"><div class="h5">> _______________________________________________<br>
> Baypiggies mailing list<br>
> <a href="mailto:Baypiggies@python.org">Baypiggies@python.org</a><br>
> To change your subscription options or unsubscribe:<br>
> <a href="http://mail.python.org/mailman/listinfo/baypiggies" target="_blank">http://mail.python.org/mailman/listinfo/baypiggies</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>
<p>"Pursue, keep up with, circle round and round your life as a dog does his master's chase. Do what you love. Know your own bone; gnaw at it, bury it, unearth it, and gnaw it still."</p>
<p>--Henry David Thoreau</p><br>
</div>