qq weibo sdk for python
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
qqweibo
MANIFEST
README.md
__init__.py
setup.py
test.py

README.md

QQ微博python SDK 0.0.1

Install

python setup.py install

How to use

client = Client('******','******',redirect_uri='http://127.0.0.1')
print client.get_authorize_url()
code = raw_input('code')
client.get_access_token_from_code(code)
print client.user.info.get()
要调用其它api以此内推,比如 foo/bar 
如果是get请求,则是 client.foo.bar.get(arg1=2,arg2=2,arg3=2)
如果是post请求,则是client.foo.bar.post(arg1=1,arg2=2,arg3=3)

More about