[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: anybody know about json + urllib2 ?
From: |
Graham Percival |
Subject: |
Re: anybody know about json + urllib2 ? |
Date: |
Tue, 27 Sep 2011 05:46:35 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Mon, Sep 26, 2011 at 01:41:26PM +0200, Reinhold Kainhofer wrote:
> Am Monday, 26. September 2011, 03:15:54 schrieb Graham Percival:
> > Does anybody have a passing familiarity with json? I'm having
> > trouble getting started with rietveld json api.
>
> You simply need to add the /api/<issue id> to the URL:
>
> wget http://codereview.appspot.com/api/224052
>
> The correct code is:
> request = urllib2.Request(url + data)
Excellent, thanks! Now we have all the bits and pieces necessary
to put James and Colin mostly out of a job. :)
James, Colin: unfortunately I'm almost out of time for this week,
so it'll have to wait until next week. I'll start with James'
patch compiling and regtest generation.
Cheers,
- Graham