Skip to content

XJouYi/SinaWeibo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SinaWeibo

python3脚本,非官方API实现登录新浪微博发送消息和图片

安装

pip install sinaweibo

API

Name Params Remark
uploadPic picPath 上传图片
postMessage message 发送文本微博
postImage message,*picPaths 发送文本加图片(图片可多张)
getFollowList pageNum 获取我的关注
getFansList pageNum 获取我的粉丝
getMyBlogList pageNum 获取我的微博
detBlog blogId 删除微博

使用Demo

test/test.py

依赖库

pip install requests

pip install rsa

pip install beautifulsoup4

About

python脚本,支持非官方API 方式登录新浪微博发送消息和图片

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt

Stars

Watchers

Forks

Packages

No packages published

Languages