Skip to main content

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


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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page