How do you create a simple Google Talk Client using the Twisted Words Python library?

Jim picture Jim · Oct 22, 2008 · Viewed 8.4k times · Source

I am interested in making a Google Talk client using Python and would like to use the Twisted libraries Words module. I have looked at the examples, but they don't work with the current implementation of Google Talk.

Has anybody had any luck with this? Would you mind documenting a brief tutorial?

As a simple task, I'd like to create a client/bot that tracks the Online time of my various Google Talk accounts so that I can get an aggregate number. I figure I could friend the bot in each account and then use the XMPP presence information to keep track of the times that I can then aggregate.

Thanks.

Answer

Dustin picture Dustin · Nov 29, 2008

wokkel is the future of twisted words. metajack wrote a really nice blog post on getting started.

If you want a nice, functional sample project to start with, check out my whatsup bot.