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
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.5.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for cyberfloodClient-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9692c2951fbb6ad36a4beefd5eb11e7c6f430b2f01a8ab8d45d09e482d021344 |
|
MD5 | bb87f467eaab021b9bc91561b0c8ee92 |
|
BLAKE2b-256 | 72f8742f18570db400fbbe5a1b9a45a4eccc1edc12b0c4beb896b4bf543c4224 |