问题描述
我有兴趣使用Python制作Google Talk客户端,并希望使用Twisted library Words模块.我已经看过这些示例,但是它们不适用于当前的Google Talk实现.
有人有运气吗?您介意编写简短的教程吗?
作为一个简单的任务,我想创建一个客户端/机器人来跟踪我各种Google Talk帐户的在线时间,这样我就可以获得一个汇总数字.我想我可以在每个帐户中让该漫游器成为朋友,然后使用XMPP存在信息来跟踪可以汇总的时间.
谢谢.
wokkel是扭曲单词的未来. metajack 写了一个非常不错的博客文章.
如果您希望从一个好的功能性示例项目开始,请查看我的 whatsup 机器人./p>
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.
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.
这篇关于如何使用Twisted Words Python库创建简单的Google Talk客户端?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!