跳转到主要内容

Bookie的API和命令行客户端

项目描述

这是Bookie API的Python实现,以及一个用于与我们的Bookie安装交互的命令行客户端。

命令

初始命令与管理员相关,我需要帮助运行和操作 https://bmark.us 安装。

入门指南

您需要在您的家目录中创建一个 .bookierc 文件,包含您的用户名、API密钥和站点的API URL。

[main]
username=admin
api_key=12345678
api_url=https://bmark.us/api/v1

命令

# check out the help for each command level
$ bookie --help
$ bookie invite --help
$ bookie invite set --help

# check your configuration by making a ping request
$ bookie ping

# Invite commands
$ bookie invite list

# set 'someuser' to have 10 invites
$ bookie invite set -u someuser -i 10

# Import commands
$ bookie import list

# User Commands
$ bookie user list
$ bookie user add -u testing -e testing@gmail.com
$ bookie user delete -u testing

项目详情


下载文件

下载适用于您平台的文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。

源分布

bookie_api-0.4.7.tar.gz (6.3 kB 查看哈希值)

上传时间:

由以下机构支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误记录 StatusPage StatusPage 状态页面