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()
True
>>> message = Message(shanbay)
>>> message.send_message(['mozillazg'], 'hello', 'hello')
True
Changelog
0.2.1 (2014-mm-dd)
[fix] team.info 无法处理打卡率是 0% 的情况
[change] 登录成功时, shanbay.login() 返回值改为 True
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.1.tar.gz
(7.4 kB
view details)
Built Distribution
File details
Details for the file shanbay-0.2.1.tar.gz
.
File metadata
- Download URL: shanbay-0.2.1.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b60594c8929104c4329de5f9e2685a9545acb750f592311c966648ff9943eee |
|
MD5 | dca683e1e35e885762f1b81f1936f455 |
|
BLAKE2b-256 | 2101675e0c65647b92e9a2e2aa19d1fc34edd2b68d8dee732138b090f51fd16f |
File details
Details for the file shanbay-0.2.1-py2.py3-none-any.whl
.
File metadata
- Download URL: shanbay-0.2.1-py2.py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa4220b6065498857983b588f05c22ce926775028130c496a3e2461e1eecc3f9 |
|
MD5 | d6d8cfcf5751267b3cec70040429801a |
|
BLAKE2b-256 | 770e45cba45d59fbb9185ce8e7a3e5b82934f908ed93c3c7d1fff0089837b2db |