any examples of a gadget call a web service that returns json?

I'm hoping to find an example of a sidebar gadget that will call a web service with some parameters and return a json object. I'm hoping it calls it on a timer and is done in javascript.

Thanks,

Peter Kellner
http://peterkellner.net
ASP.NET, MVP



Answer this question

any examples of a gadget call a web service that returns json?

  • Wesley Wong

    OK. Well, I can send you some of my code. I wrote an app to access and sort through my Flickr pictures and it's 100% Javascript using the Flickr JSON API. I can't say I'm an elegant Javascript guy or that my use of JSON is textbook, but it'd be something. :)

    Feel free to e-mail me. My alias is sandykh and I work for Microsoft, so the domain is microsoft.com (trying to avoid the spambots ) and I can point you to it.

    SANDY


  • NetPochi

    I haven't done any JSON and very little javascript. Next week I am doing a presentation at a community event on writing your own gadgets (go figure).

    Anyhow, I'm need to write this from scratch and was hoping to find a demo of consuming a JSON datasource. My understanding is that JSON makes it easy with Javascript.

    I'll google around and see what I can find with JSON.

    Peter Kellner
    http://peterkellner.net
    ASP.NET, MVP


  • invantix

    Accessing data from a web service in a gadget with a JSON service is no different than doing so in Javascript on a regular HTML page. Are you really just looking for a JSON client or is there something specific about the sidebar gadget you'd like to understand

    -SANDY


  • any examples of a gadget call a web service that returns json?