Skip to main content

A CyberFlood REST API client

Project description

CyberFlood Python Client

pip package to interact with the CyberFlood REST API.

Note that this is still a work in progress and not all actions of the API are implemented yet (far from it, in fact). If you need a missing action to be implemented, please create a ticket on the Github repository.

Installation

From pip:

pip install cyberfloodClient

Or download the files.

Usage

import cyberfloodClient

print("Checking for connectivity & credentials...", end=" ")
cfClient = cyberfloodClient.CfClient["userName", "password", "controllerAddress"]
cfClient.generateToken()
if cfClient.isLogged():
    print("success! [" + cfClient.userName + "]")
else:
    print("error! Please check your configuration.")

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

cyberfloodClient-0.0.7.tar.gz (3.3 kB view hashes)

Uploaded source

Built Distribution

cyberfloodClient-0.0.7-py3-none-any.whl (5.4 kB view hashes)

Uploaded py3

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