Maxwell API客户端
项目描述
# Maxwell API客户端
用Python编写的简单Maxwell API客户端。已在Python 2.7和3.3 - 3.7版本中测试。
## 使用方法
>>> from maxwell import MaxwellAPIClient >>> client = MaxwellAPIClient(access_token='eyJ0eXAiOiJKV1QiLCJhbGciOi...') >>> client.list_teams() {'teams': [{'id': '5c17cedebc69d77789347dc5', 'members': [{'id': '5c17cee6bc69d77789347dc6'}], 'name': 'My Team'}]}
## 可用命令
add_team_channel(team_id, channel)
add_team_member(team_id, customer_id)
create_blueprint(team_id, blueprint)
create_blueprint_revision(team_id, blueprint_id, blueprint_revision)
get_blueprint_revision(blueprint_id, blueprint_revision_id)
get_customer_profile()
get_team_invoice_address(team_id)
list_teams()
list_team_blueprints(team_id)
list_team_channels(team_id)
list_team_members(team_id)
list_blueprint_revisions(blueprint_id)
publish_blueprint_revision(blueprint_id, blueprint_revision_id)
remove_team_channel(team_id, channel)
remove_team_member(team_id, customer_id)
项目详情
下载文件
下载适合您平台文件的文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。
源分布
maxwell-api-client-0.1.0.tar.gz (2.5 kB 查看哈希值)
构建分布
maxwell_api_client-0.1.0-py3.7.egg (6.2 kB 查看哈希值)
关闭
maxwell-api-client-0.1.0.tar.gz的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 7d83f06224d529758ee3ae51e1d5d36b20592ed9c8a071f0b4682a4abf560e6f |
|
MD5 | 50cac5287b511c323c32495553e7d7a7 |
|
BLAKE2b-256 | fc95f11263f80c4f28f5011b1a1bc48705781408223bf183d83fe3f9046d3bc1 |