Culturegrid simplified

Culturegrid is a huge index of cultural assets in the UK (books, photographs, videos, locations...), and has a search API. It's XML, so if you want to do client-side stuff with it in Javascript it's going to be tricky. That's where this API proxy comes in handy.

An example

Try the Culturegrid Mobile app which consumes the JSON via client-side javascript.

Use the culturegrid Ruby Gem

gem install culturegrid
results = CultureGrid.search("happy")
puts results.first.title
#=> "Portraits: The Happiest Girl in the World"

Send a GET request of this format to this little web service:

http://culturegrid.heroku.com/search?q=joy&page=1&per_page=10&callback=abc123

You will receive something like the following as JSONP:

Get full size images

One thing that this API does not provide is a full image for a result.

Take a look at Culture Scraper which will allow you to get a full image for many of the results.