Welcome to python-shanbay’s documentation!¶
python-shanbay¶
提供一系列操纵扇贝网 (www.shanbay.com) 的 api
- Documentation: http://python-shanbay.rtfd.org
- GitHub: https://github.com/mozillazg/python-shanbay
- Free software: MIT license
- PyPI: https://pypi.python.org/pypi/shanbay
- Python version: 2.6, 2.7, pypy, 3.3
Basic Usage¶
>>> from shanbay import Shanbay
>>> shanbay = Shanbay('username', 'password')
>>> api = shanbay.api
>>> api.user_info()
{"username":"uesrname", "nickname":"nickname", "userid":1, "result":1}