Copying & Pasting Example Code for the Google Buzz API

by Kofi Sarfo 14. June 2010 08:56

So the Google Buzz API has been available for a month and I've added all kinds of value to this example code. Below is a link to all those folks I follow (who have supplied an image):

It's trivial and yields a social graph in four lines of code essentially. Nice! The only thing we needed to consider was the use of response.data.entry instead of response.data.item which became obvious by looking at this JSON showing who I follow on Buzz.

Because most of our data-related time is in XML land immediately we think XSD and find there exists something similar for JSON. JSON Schema! The Address Schema, for example, looks reasonable but we wonder how necessary all those double quotes might be. They seem to be redundant tokens that only reduce readability. Otherwise it's friendly enough.

Tags:

bookmark | REST | Toys

Comments are closed

Kofi Sarfo modified theme by Mads Kristensen



Content by WIMIRO Technology is licensed under a Creative Commons Attribution-Share Alike 2.0 UK: England & Wales License.

Creative Commons License

Powered by BlogEngine.NET 1.5.0.7

About Me

Director, Wimiro Technology
London, United Kingdom

Writes in third person and first person plural; currently commutes to Moorgate.

Kiva Loans

  • Stalamarice Nthomo Kangi

    Stalamarice Nthomo Kangi

    Tailoring

    Requested loan: $375

    Amount raised: $0

    Machakos, Kenya

    To buy fabric

    Loan Now »

  • Jonathan Mututu Kasyoka

    Jonathan Mututu Kasyoka

    Internet Cafe

    Requested loan: $500

    Amount raised: $0

    Machakos, Kenya

    To buy more chairs, tables and printer paper

    Loan Now »

  • Jeanciana Rin

    Jeanciana Rin

    General Store

    Requested loan: $300

    Amount raised: $0

    Katutungan, Wao Lanao Del Sur, Philippines

    To purchase additional inventory and to use as working capital

    Loan Now »

 To see more entrepreneurs »

Kiva Loans