Skip to main content

Api and command line client for Bookie

Project description

This is a python implementation of the Bookie api and a command line client to interact with our Bookie installation.

Commands

The initial commands are admin related I need to help run and operate the https://bmark.us installation.

Getting Started

You need to create a .bookierc in your home directory with your username, api key, and api url for the site.

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

Commands

# 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bookie_api-0.4.7.tar.gz (6.3 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page