Python wrapper for shanbay.com
Project description
python-shanbay
提供一系列操纵扇贝网 (www.shanbay.com) 的 api
Documentation: http://python-shanbay.rtfd.org
Free software: MIT license
Python version: 2.6, 2.7, pypy, 3.3, 3.4
Features
send/reply message
manage team
Installation
To install python-shanbay, simply:
$ pip install shanbay
Basic Usage
>>> from shanbay import Shanbay, Message
>>> shanbay = Shanbay('username', 'password')
>>> shanbay.login()
>>> message = Message(shanbay)
>>> message.send_message(['mozillazg'], 'hello', 'hello')
True
Changelog
0.2.0 (2014-06-09)
[delete] shanbay.API, 因为扇贝网不再支持 API v0.8, 并且新的 API 尚未释出
[change] 各 api 接口移除 @property 装饰器
0.1.1 (2014-05-15)
[add] 站内消息 api
[add] 小组管理 api
[change] api 接口
具体用法可以参考 tests/ 以及 python-shanbay-team-assistant
0.1.0 (2014-03-31)
封装 扇贝网 API v0.8.
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
shanbay-0.2.0.tar.gz
(7.2 kB
view details)
Built Distribution
File details
Details for the file shanbay-0.2.0.tar.gz
.
File metadata
- Download URL: shanbay-0.2.0.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ff6973cc18f1f67550d57c0ebd904891738ff140aceb8b95177a08e6f7346a0 |
|
MD5 | c837a288efff9fc7bd20c434f298765f |
|
BLAKE2b-256 | 20eb3f026c59391c51f4989e89c796811b04608b3212dca68b996397c8fc7404 |
File details
Details for the file shanbay-0.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: shanbay-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad7fc637fddcc854c2abd7e6525e448e416599246f6db9abb516b5503347c424 |
|
MD5 | bed38e226e277cec3388c1330f1835fa |
|
BLAKE2b-256 | f2ecace9d2d413150240710d31b45918bf521bea44b4d41bf05ee0c532db8b84 |