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
support shanbay api v1
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.3.2 (2014-08-22)
小组管理页面改版
0.3.1 (2014-08-05)
修复”小组成员页面改版导致无法获取组员信息”
0.3.0 (2014-07-19)
封装 新版扇贝官方 API
修复”扇贝更改小组成员页面的 URL 导致无法获取组员信息”
0.2.1 (2014-06-24)
修复 team.info 无法处理打卡率是 0% 的情况
登录成功时,shanbay.login() 的返回值改为 True
0.2.0 (2014-06-09)
删除 shanbay.API, 因为扇贝网不再支持 API v0.8, 并且新的 API 尚未释出
各 api 接口移除 @property 装饰器
0.1.1 (2014-05-15)
新增站内消息 api
新增小组管理 api
调整 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
Built Distribution
File details
Details for the file shanbay-0.3.2.tar.gz
.
File metadata
- Download URL: shanbay-0.3.2.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cc4dbdfc6e4af67f2f147e7e8dd2f50e24edf0cef6ef66911efeff3337c190c |
|
MD5 | d7f7cb296c02ae1c26275a112d03f9d1 |
|
BLAKE2b-256 | 17819e495397514c8df71d753941d8b49b03d8407225610407bbf90788f116b9 |
File details
Details for the file shanbay-0.3.2-py2.py3-none-any.whl
.
File metadata
- Download URL: shanbay-0.3.2-py2.py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ed0bb09f5968e232a9fb86f00152ea228b39e749482266473c5095e2dcde380 |
|
MD5 | a2c2a89402987fb0ad52c4a051cf0aca |
|
BLAKE2b-256 | fb9b85669afdc586e00d481d3b36718574e0b40ef6b7e4da91d8cd9bd324e8c9 |