Skip to main content

CLI to make requests to Rekono API

Project description

Buy Me A Coffee

Command Line Interface to make requests to the Rekono API REST.

Usage

usage

Rekono API documentation is available in /api/schema/swagger-ui.html and /api/schema/redoc/ of Rekono instances

Library usage

Rekono CLI can be also used as Python 3 library, so that it's possible to create custom Rekono scripts. For example, with the following code it's possible to create a Rekono client to make custom API requests:

from rekono.client.api import Rekono
client = Rekono(url='https://127.0.0.1', token='my secret api token')           # Create Rekono client
response = client.get('/api/tools/1/')                                          # GET request to get tool with ID 1

Installation

PIP

pip3 install rekono-cli

From Source

  1. Install the required technologies: Python 3 & PIP

  2. Install the dependencies:

    pip3 install -r src/requirements.txt
    
  3. Execute the CLI:

    python3 src/rekono/main.py --help
    

Configuration

You can use the REKONO_TOKEN environment variable to configure the API token for Rekono authentication.

Reach Us

You can get support, ask questions, solve doubts or solve problems using:

Rekono is an open source project that we really love to maintain and it's absolutely our pleasure, but we would like to offer the possibility of supporting Rekono's development via donations. At the moment, the project only needs its maintainer's time to stay up to date with new features and fix bugs. However, in the future, it could need more expensive resources like hosting, new web pages for documentation, the inclusion of premium hacking tools, etc. With the help received from our supporters, Rekono will be able to grow fastly and have the resources that it deserves. Of course, you can use the donations just to appreciate our work. Thank you for your help!

The main differences between them are that BuyMeACoffe charges fees over each donation while Ko-fi doesn't and Ko-fi supports PayPal payments while BuyMeACoffe doesn't

License

Rekono is licensed under the GNU GENERAL PUBLIC LICENSE Version 3

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

rekono-cli-2.0.1.post1.tar.gz (17.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page