A weibo api for sending weibo automatically
Project description
weiborobot
-----
Notice:
1.it is built on sinaweibopy ,so it only supports python2.7 or python2.6.
2.everything should be encoded in unicode.
the lib make you can send weibo entirly automatically.instead of getting code
by url in the browser.
you just input
1.your weibo account:username and password
2.app:app_key,app_secret
````````````
Save in a hello.py:
.. code:: python
#-*-coding:utf-8-*-
from weiborobot import WeiboRobt
robot = WeiboRobot('username','password','app_key','app_secret',callback_url=callback_url)
text = 'wffwf'
robot.communicate('/statuses/share','post',status=text)
print robot.communicate('/statuses/user_timeline','get')
And Easy to Setup
`````````````````
And run it:
.. code:: bash
$ pip install weiborobot
Links
`````
* `development version
<https://github.com/haipersist/weibo>`_
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
weiborobot-1.1.3.zip
(9.4 kB
view hashes)