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.
From pip:
pip install cyberfloodClient
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.")