Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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.

Files for weiborobot, version 1.1.3
Filename, size File type Python version Upload date Hashes
Filename, size weiborobot-1.1.3.zip (9.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page