Message from discussion
Still not sure how to use /api/blocks/all
Received: by 10.101.75.7 with SMTP id c7mr551331anl.30.1318494817677;
Thu, 13 Oct 2011 01:33:37 -0700 (PDT)
X-BeenThere: springpaddev@googlegroups.com
Received: by 10.101.205.29 with SMTP id h29ls6958978anq.4.gmail; Thu, 13 Oct
2011 01:33:37 -0700 (PDT)
Received: by 10.101.3.12 with SMTP id f12mr512173ani.51.1318494817339;
Thu, 13 Oct 2011 01:33:37 -0700 (PDT)
Received: by 10.101.3.12 with SMTP id f12mr512172ani.51.1318494817318;
Thu, 13 Oct 2011 01:33:37 -0700 (PDT)
Return-Path: <bvalo...@gmail.com>
Received: from mail-iy0-f176.google.com (mail-iy0-f176.google.com [209.85.210.176])
by gmr-mx.google.com with ESMTPS id ic2si493738icc.3.2011.10.13.01.33.37
(version=TLSv1/SSLv3 cipher=OTHER);
Thu, 13 Oct 2011 01:33:37 -0700 (PDT)
Received-SPF: pass (google.com: domain of bvalo...@gmail.com designates 209.85.210.176 as permitted sender) client-ip=209.85.210.176;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of bvalo...@gmail.com designates 209.85.210.176 as permitted sender) smtp.mail=bvalo...@gmail.com; dkim=pass (test mode) header...@gmail.com
Received: by mail-iy0-f176.google.com with SMTP id h37so1132475iak.7
for <springpaddev@googlegroups.com>; Thu, 13 Oct 2011 01:33:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=mime-version:in-reply-to:references:from:date:message-id:subject:to
:content-type;
bh=6+M40rFcz9Viwenym63t/AknBcGH36xXB2BEHLDhjow=;
b=LkUJsEEE9bkd0tTvOm+hPpugvE5QuQ3QMA6lZrokotr4fQp/aRKGc/1fvm0KJL9Te6
d4uDdtMZU7TixKmw8ZNjevaguXS3MDINeIyDwOjqgV0vaCT0LMcRw27jPfRepUXzh5Iz
oN1DkWCIrGNtxoR9OgTGyQHVHAmcV9NpCPf/4=
Received: by 10.42.72.194 with SMTP id p2mr5317765icj.0.1318494817060; Thu, 13
Oct 2011 01:33:37 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.42.117.196 with HTTP; Thu, 13 Oct 2011 01:33:16 -0700 (PDT)
In-Reply-To: <531D5A82-2293-4600-9A94-B9723E71E971@gmail.com>
References: <351201a3-abc1-4fb8-b917-1cc271ba362a@q24g2000vby.googlegroups.com>
<64A58845-F838-49B5-8C00-DD4B94717...@gmail.com> <CAG6E4sDPsdStTz=u6LtyxrXgYxpLTO3d7LZBiQnHGC1HWYo...@mail.gmail.com>
<531D5A82-2293-4600-9A94-B9723E71E...@gmail.com>
From: Brandon Valosek <bvalo...@gmail.com>
Date: Thu, 13 Oct 2011 03:33:16 -0500
Message-ID: <CAG6E4sAEcBekiCT7j21ESJm8OMjZA6dpKY5nrnKzde2qzcu...@mail.gmail.com>
Subject: Re: Still not sure how to use /api/blocks/all
To: springpaddev@googlegroups.com
Content-Type: multipart/alternative; boundary=90e6ba3fcd9f3586e904af29ffdc
--90e6ba3fcd9f3586e904af29ffdc
Content-Type: text/plain; charset=ISO-8859-1
Works great sir, I appreciate the update! thanks a bunch.
On Thu, Sep 29, 2011 at 11:19 AM, Pete Aykroyd <aykr...@gmail.com> wrote:
> Brandon,
>
> I had a problem with the python code doing the oauth authentication, so I
> fixed that first. Then I was able to reproduce the problem that you found
> with find_new_blocks method. The problem turned out to stem from an extra
> '/' in the URL. That's fixed now. Also I added/fixed support for doing
> username/password authentication. That's supported in the cli.py file now as
> well. Can you do a pull from github and let me know how it goes?
>
> Thanks,
>
> Pete
>
> On Sep 28, 2011, at 6:25 PM, Brandon Valosek wrote:
>
> Thanks Pete, I tried typing it straight into a browser for kicks and
> giggles after using the API and oauth to no avail (other API methods work
> fine for me)
>
>
> http://stackoverflow.com/questions/6130488/trouble-with-springpad-api/6155212#6155212
>
> is all I could find about it. Looking forward to figuring out what exactly
> I'm missing
>
> On Wed, Sep 28, 2011 at 12:26 PM, Pete Aykroyd <aykr...@gmail.com> wrote:
>
>> Brandon,
>>
>> You cannot type the URL into your browser because it is excepting
>> authentication. I looked briefly at the python client and there seems to be
>> some weirdness there. Sorry for the confusion. I will update it and let you
>> know when it's up.
>>
>> Pete
>>
>> On Sep 28, 2011, at 12:40 PM, Brandon wrote:
>>
>> > the find_new_blocks method in the python API doesn't work, nor does it
>> > seem to work without oauth, or even just trying to type in the URL in
>> > my browser.
>> >
>> > Specifically, what parameters / headers are required for this?
>>
>>
>
>
--90e6ba3fcd9f3586e904af29ffdc
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Works great sir, I appreciate the update! thanks a bunch.<br><br><div class=
=3D"gmail_quote">On Thu, Sep 29, 2011 at 11:19 AM, Pete Aykroyd <span dir=
=3D"ltr"><<a href=3D"mailto:aykr...@gmail.com">aykr...@gmail.com</a>>=
</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;"><div style=3D"word-wrap:break-word">Brandon=
,<div><br></div><div>I had a problem with the python code doing the oauth a=
uthentication, so I fixed that first. Then I was able to reproduce the prob=
lem that you found with find_new_blocks method. The problem turned out to s=
tem from an extra '/' in the URL. That's fixed now. Also I adde=
d/fixed support for doing username/password authentication. That's supp=
orted in the cli.py file now as well. Can you do a pull from github and let=
me know how it goes?</div>
<div><br></div><div>Thanks,</div><div><br></div><font color=3D"#888888"><di=
v>Pete</div></font><div><div></div><div class=3D"h5"><div><br></div><div><d=
iv><div>On Sep 28, 2011, at 6:25 PM, Brandon Valosek wrote:</div><br><block=
quote type=3D"cite">
Thanks Pete, I tried typing it straight into a browser for kicks and giggle=
s after using the API and oauth to no avail (other API methods work fine fo=
r me)<div><br></div><div><a href=3D"http://stackoverflow.com/questions/6130=
488/trouble-with-springpad-api/6155212#6155212" target=3D"_blank">http://st=
ackoverflow.com/questions/6130488/trouble-with-springpad-api/6155212#615521=
2</a></div>
<div><br></div><div>is all I could find about it. Looking forward to figuri=
ng out what exactly I'm missing<br><br><div class=3D"gmail_quote">On We=
d, Sep 28, 2011 at 12:26 PM, Pete Aykroyd <span dir=3D"ltr"><<a href=3D"=
mailto:aykr...@gmail.com" target=3D"_blank">aykr...@gmail.com</a>></span=
> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Brandon,<br>
<br>
You cannot type the URL into your browser because it is excepting authentic=
ation. I looked briefly at the python client and there seems to be some wei=
rdness there. Sorry for the confusion. I will update it and let you know wh=
en it's up.<br>
<font color=3D"#888888"><br>
Pete<br>
</font><div><div></div><div><br>
On Sep 28, 2011, at 12:40 PM, Brandon wrote:<br>
<br>
> the find_new_blocks method in the python API doesn't work, nor doe=
s it<br>
> seem to work without oauth, or even just trying to type in the URL in<=
br>
> my browser.<br>
><br>
> Specifically, what parameters / headers are required for this?<br>
<br>
</div></div></blockquote></div><br></div>
</blockquote></div><br></div></div></div></div></blockquote></div><br>
--90e6ba3fcd9f3586e904af29ffdc--