Git Product home page Git Product logo

smartqqrobot's Introduction

SmartQQRobot

基于python3实现的QQ机器人

功能:
1、登录验证过程
2、个人信息获取
3、好友信息获取
4、群信息获取
5、发送消息
6、接收消息
7、消息回复
8、获取在线好友信息
9、获取最近在线信息
10、图形界面显示和配置等

界面:
image

以上功能测试通过(date:2017-06-09)。


例子:(详细参见 main.py )
from smartqq import SmartQQ

qq = SmartQQ()

qq.login() # 登录验证

qq.get_self_info() # 获取个人信息,主要是获取gid,发送信息会用到

qq.get_group_info() # 获取群列表

qq.send_qun_msg(group_uin, msg) # 发送群消息

qq.get_chat_msg() # 接收消息

qq.get_friends_info() # 获取好友列表

qq.get_online_buddies2() # 获取在线好友列表

qq.get_recent_list2() # 获取最近列表


注意:
1、如能让SmartQQ收到消息,经实测必须退出PC上QQ客户端。
2、为了尽量模拟webqq登录,登录成功之后,所有获取列表方法都加上(即时获取的数据不用)。

smartqqrobot's People

Contributors

pyshu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

smartqqrobot's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.