Sign in

Google Wave APIs (Labs)

WaveProtocol.org

Learn about the Google Wave Federation Protocol and get involved

Samples Gallery

Featured Sample

Lee Stone - Sep 20, 2009
Emoticony is a robot for Google Wave which replaces text representations of emoticons with the relevant image. There are currently over 50 different emoticons available, with this number continuing to grow. Look out for themed emoticons focused around specific events (Halloween, Christmas etc.) More details can be found at: http://emoticony.leestone.co.uk

Best Practices

The highlighted samples below show off different features of the APIs and ways of using the APIs, and are examples of best practices.

Przemysław Gajda - Nov 26, 2009
A wave robot that allows participants to rate blips.
Uses Form elements and the FORM_BUTTON_CLICKED event.
Google Wave APIs Team - Nov 21, 2009
Links selected text to first result on Google.
Shows how to use annotateSelection with a custom named key, and then find that annotation with the robot.
JaccoPK - Nov 17, 2009
Its a robot that replaces JAAP.NL urls with a gadget showing the details of the property (after the blip is submitted). The gadget can be reduced/expanded. (more to come) (I used the IMDBotty sample code as a reference but implemented using java only, in stead of python)
Shows using a JSP to generate the served gadgt XML, fetching webservice data in the servlet, adding gadget from robot. - pattern matching URLs in the text
Flávio Codeço Coelho - Nov 07, 2009
Replace text like ~~topic1,topic2. in waves by a trend gadget showing the trends of up to 4 comma-separated topics.
Shows how to insert a dynamically generated gadget into a wave.
Charles Deschênes - Nov 03, 2009
Upon being added, creates a blip at the end of the wave, containing the current wave ID, both in "wave" and full url formats. Can just be taken out of the wave afterwards.
Shows the use of setAnnotation in Python and retrieval of waveID.
*Live demos require Wave Sandbox access to view