openfalconclient 0.0.3

Creator: railscoder56

Last updated:

Add to Cart

Description:

openfalconclient 0.0.3

# open-falcon api python clientexample usuage ```pythonfrom openfalconclient.client import FalconClientcli = FalconClient(endpoint="http://127.0.0.1:8080", user='admin', password='admin123')# ex api/v1/user/users getr = cli.user.users.list()# /api/v1/user/name/xxxx getr = cli.user.name['admin'].get()# /api/v1/user/u/xxxx getr = cli.user.u['1'].get()# /api/v1/user/update putdata = { "name": "test1", "cnname": "est", "email": "root123@cepave.com", "im": "44955834958", "phone": "99999999999", "qq": "904394234239"}cli.user.update.update(data=data)# /api/v1/admin/delete_user deleteparams = {"user_id": 31}cli.admin.delete_user.delete(params=params)# /api/v1/template/7 deletecli.template['7'].delete()query = [{ "endpoint": "zwhtest.net", "counter": "net.if.info/region=gd1" }]cli.graph.lastpoint.post(data=query)```

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.