开发者

Properties dictionary for Events in the Google Wave Python API

开发者 https://www.devze.com 2022-12-11 21:14 出处:网络
The Google Wave documentation contains the Robot Events, but doesn\'t list what values will b开发者_开发问答e put into the properties dictionary. Is this documented anywhere?I had the same question an

The Google Wave documentation contains the Robot Events, but doesn't list what values will b开发者_开发问答e put into the properties dictionary. Is this documented anywhere?


I had the same question and found some hints in the following Google group thread: http://groups.google.com/group/google-wave-api/browse_thread/thread/8d19dbcb6f2147cc

For now, I think the closest you can get to an answer to this question is Jason Salas' response: "the good news is that you can look in the logs that Google App Engine generates for your robot in your dashboard (choose Info from the drop-down menu under your application), and you can manually read the JSON string and get the "properties" content."

I guess we'll just have to wait until the API stabilizes and the documentation is more complete.


They are listed in API Reference documentation, in the waveapi.events module.

Here's the list:

WAVELET_BLIP_CREATED
WAVELET_BLIP_REMOVED
WAVELET_PARTICIPANTS_CHANGED
WAVELET_SELF_ADDED
WAVELET_SELF_REMOVED
WAVELET_TIMESTAMP_CHANGED
WAVELET_TITLE_CHANGED
WAVELET_VERSION_CHANGED
BLIP_CONTRIBUTORS_CHANGED
BLIP_DELETED
BLIP_SUBMITTED
BLIP_TIMESTAMP_CHANGED
BLIP_VERSION_CHANGED
DOCUMENT_CHANGED
FORM_BUTTON_CLICKED
0

精彩评论

暂无评论...
验证码 换一张
取 消