views:

1004

answers:

3

Is anyone developing robots and/or gadgets for Google Wave?

I have been a part of the sandbox development for a few days and I was interested in seeing what others have thought about the Google Wave APIs.

I was also wondering what everyone has been working on. Please share your opinions and comments!

+2  A: 

Go to Google Wave developers and read the blogs, forums and all your questions will be answered including a recent post for a gallery of Wave apps. You will also find other developers to play in the sandbox with.

skyfoot
I have been there. I was mostly looking to see what experiances people have had with it and what they have been workingon.
Molex
+2  A: 

I haven't tried the gadgets, but from the little I've looked at them, they seem pretty straight-forward. They're implemented in a template-ish way and you can easily keep states in them, allowing more complex things such as RSVP lists and even games.

Robots are what I'm most interested in, and well, all I can say is that they're really easy to develop! Like barely any effort at all! Heck, I'll code one for you right here:

import waveapi.events
import waveapi.robot

def OnBlipSubmitted(properties, context):
    # Get the blip that was just submitted.
    blip = context.GetBlipById(properties['blipId'])
    # Respond to the blip (i.e. create a child blip)
    blip.CreateChild().GetDocument().SetText('That\'s so funny!')

def OnRobotAdded(properties, context):
    # Add a message to the end of the wavelet.
    wavelet = context.GetRootWavelet()
    wavelet.CreateBlip().GetDocument().SetText('Heeeeey everybody!')

if __name__ == '__main__':
    # Register the robot.
    bot = waveapi.robot.Robot(
        'The Annoying Bot',
        image_url='http://example.com/annoying-image.gif',
        version='1.0',
        profile_url='http://example.com/')
    bot.RegisterHandler(waveapi.events.BLIP_SUBMITTED, OnBlipSubmitted)
    bot.RegisterHandler(waveapi.events.WAVELET_SELF_ADDED, OnRobotAdded)
    bot.Run()

Right now I'm working on a Google App Engine project that's going to be a collaborative text adventure game. For this game I made a bot that lets you play it on Wave. It uses Wave's threading of blips to let you branch the game at any point etc. For more info, have a look at the Google Code project page (scroll down a little bit for a screenshot.)

Blixt
Thanks. I have been working with the Gadgets. Here is a link to the one that I just finished: http://code.google.com/p/slashdot-gadget-for-wave/source/browse/trunk/slashdot-gadget-for-wave/slashdot.xml
Molex
+2  A: 
Molex