如何使用Twisted Words Python库创建简单的Google Talk客户端? [英] How do you create a simple Google Talk Client using the Twisted Words Python library?

查看:76
本文介绍了如何使用Twisted Words Python库创建简单的Google Talk客户端?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有兴趣使用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客户端?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆