All Projects → linsir → doubanrobot

linsir / doubanrobot

Licence: other
A simple robot for Douban.com

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to doubanrobot

ceres robot
ceres robot ros driver and tools
Stars: ✭ 43 (+26.47%)
Mutual labels:  robot
mqr
茉莉QQ机器人(简称MQR),采用mirai的Android协议实现的QQ机器人服务,通过web控制机器人的启停和配置。
Stars: ✭ 71 (+108.82%)
Mutual labels:  robot
joinhider bot
Telegram bot to delete user joined messages
Stars: ✭ 20 (-41.18%)
Mutual labels:  robot
psm
Pypi Source Manager: fast switch between different Pypi Source: Pypi, double, aliyun
Stars: ✭ 31 (-8.82%)
Mutual labels:  douban
Swarmathon-Robot
Everything you need to build a Swarmathon Robot.
Stars: ✭ 13 (-61.76%)
Mutual labels:  robot
rgbd person tracking
R-GBD Person Tracking is a ROS framework for detecting and tracking people from a mobile robot.
Stars: ✭ 46 (+35.29%)
Mutual labels:  robot
goSpider
some small project and some articles
Stars: ✭ 56 (+64.71%)
Mutual labels:  douban
Install-VScode-On-TX2
How to install VScode on Nvidia TX2
Stars: ✭ 24 (-29.41%)
Mutual labels:  robot
RaspberryPi-4WD-Car
Yahboom 4WD smart robot with AI vision features for Raspberry Pi 4B
Stars: ✭ 31 (-8.82%)
Mutual labels:  robot
smacha
SMACHA is a meta-scripting, templating, and code generation engine for rapid prototyping of ROS SMACH state machines.
Stars: ✭ 15 (-55.88%)
Mutual labels:  robot
drivecommand
A communication library which connects a robot (EV3, NXT, etc.) and a device (Android, PC, etc.)
Stars: ✭ 13 (-61.76%)
Mutual labels:  robot
webots ros
Webots ROS package
Stars: ✭ 73 (+114.71%)
Mutual labels:  robot
qqRobot.js
😊 QQ聊天机器人,使用JavaScript实现, 可以在安卓设备上运行。
Stars: ✭ 17 (-50%)
Mutual labels:  robot
community-projects
Webots projects (PROTO files, controllers, simulation worlds, etc.) contributed by the community.
Stars: ✭ 20 (-41.18%)
Mutual labels:  robot
doubanIMDb
IMDb + Rotten Tomatoes + Wikipedia on Douban Movie
Stars: ✭ 93 (+173.53%)
Mutual labels:  douban
RWHEC-Tabb-AhmadYousef
This code provides methods for robot-world, hand-eye(s) calibration, updated in June 2018..
Stars: ✭ 32 (-5.88%)
Mutual labels:  robot
idyntree
Multibody Dynamics Library designed for Free Floating Robots
Stars: ✭ 109 (+220.59%)
Mutual labels:  robot
whatsapp-auto-messenger
Automatic message sender using WhatsApp Web at fixed interval.
Stars: ✭ 43 (+26.47%)
Mutual labels:  robot
willsautoclick
Fastest Java autoclicker in the entire west
Stars: ✭ 12 (-64.71%)
Mutual labels:  robot
URDF-Importer
URDF importer
Stars: ✭ 135 (+297.06%)
Mutual labels:  robot

doubanrobot

A simple robot for douban.com

Usage

Examples

功能概览

登录

import doubanrobot

email = '[email protected]'
password = 'password'

auth = doubanrobot.Auth(email, password)

个人相关接口

people = doubanrobot.People(auth)
  • 修改简介 people.edit_intro("i just changed my douban intro")

  • 发状态 people.talk_status("hhhhhh")

  • 发带图片状态 people.send_image("test.jpg", "hhhhhh")

  • 发豆邮 (对同一人首次发豆邮后该endpoint失效,以后需要使用回复豆邮) people.send_doumail("66902522", 'Hallo, linsir.')

  • 回复豆邮 people.reply_doumail("66902522", 'Hallo again, linsir.')

  • 获取关注的人 print(people.get_contacts_list())

  • 获取关注我的人 print(people.get_contacts_rlist())

  • 取消关注 people.remove_contact("66902522")

  • 关注 people.add_contact("66902522")

  • 获取黑名单 print(people.get_blacklist())

  • 添加到黑名单 people.add_to_blacklist("76326966")

  • 移出黑名单 people.remove_from_blacklist("76326966")

小组相关接口

group = doubanrobot.Group(app)
  • 获取加入的小组 print(group.get_joined_groups())

  • 加入不需要验证的组 group.join_group("TurboGears")

  • 加入需要验证的组 group.join_group("343477", "申请加入!!!")

  • 退出小组 group.quit_group("TurboGears")

  • 我发起的帖子列表 print(group.get_my_publish_topics(reply=False))

  • 我回复的帖子列表及回应数 print(group.get_my_reply_topics(reply=False))

  • 删除我发起的帖子(会删除所有评论) group.delete_my_topic("129875286", 155)

  • 获取帖子评论列表 group.get_other_comments_list("41603339", 155)

  • 获取帖子我回应评论列表 group.get_reply_comments_list("81705524")

  • 发表新帖子 group.new_topic("centos", "test", "hahah.")

  • 抢沙发 group.sofa("CentOS",['aaaa', 'bbbb', 'cccc'])

  • 顶帖子 group.topics_up(["129875286"],['xxx', 'yyy', 'zzz'])

  • 删除所有回应的评论 group.delete_reply_topic_comments()

  • 删除所有发布的帖子 group.delete_my_publish_topics

更多

验证码破解及更多接口请自己抓包分析。

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].