Monthly Archives: December 2010

Processing and The Guardian API- now with actual information

2010- a year in Wikileaks

Here’s a quick snapshot of how this is developing. This searches the Guardian’s Open Platform API for mentions of everyone’s favourite whistleblowing website. The bars map the number of articles on a monthly basis, where 12 o’clock is January. You can see a small peak in April, when the Collateral Murder video was released, bigger peaks in July and October as the Afghanistan and Iraq logs are published and a massive spike in December as “Cablegate” (oh, how I loathe the use of ‘gate’ as a suffix for anything mildly controversial!) gets going. The article headlines are arranged by date order, but on a uniform scale. This is still work in progress, but I’m quite pleased with how it’s shaping up so far.

Get in touch with any comments, criticisms or questions!

Processing and the Guardian: Now 73% more object oriented, 300% more colourful

Hello! Just a quick update: following on from my last post I’ve refined the code a bit, letting me run multiple searches from one sketch. Here’s the same three searches from last time, compiled into one image. In this case, Tony is green, Gordon is red and Dave is blue.
Code will be forthcoming once I’ve refined it a bit more. AdiĆ³s!

Processing and the Guardian API

Inspired by this article from the awesome Jer “Blprnt” Thorp, I’ve been experimenting with the Guardian’s Open Platform API, which gives access to ten years worth of articles in XML or JSON format. You have to sign up for an API key but it’s free and easy. I thought I’d put up some of the early tests I’ve been doing with it. I’ve never worked with XML before so it’s been something of a learning experience!
Continue reading