Cuckoo REST API client for Python.
Project description
cuckooapi
Client for Cuckoo’s REST API.
Installation
$ pip install cuckooapi
Usage example
>>> from cuckooapi import CuckooAPI
>>> api=CuckooAPI('http://cuckoohost:8090')
>>> response=api.cuckoo_status.get()
>>> response.data
{u'hostname': u'cuckoohost',
u'machines': {u'available': 18, u'total': 18},
u'tasks': {u'completed': 76,
u'pending': 0,
u'reported': 48268,
u'running': 0,
u'total': 48636},
u'version': u'1.0-dev'}
>>> response.data['tasks']['pending']
0
>>> response.data['tasks']['running']
0
Endpoint Reference
https://github.com/cuckoobox/cuckoo/blob/master/docs/book/src/usage/api.rst
News
1.0.0
Endpoint list synced with current Cuckoo stable version (1.1).
0.0.1
Initial release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cuckooapi-1.0.0.tar.gz
(3.1 kB
view details)
File details
Details for the file cuckooapi-1.0.0.tar.gz
.
File metadata
- Download URL: cuckooapi-1.0.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de37e08c7c8953c40797bdba1d46ca7cdb8cdf45a8b51c825a383d19ab8fa542 |
|
MD5 | 6f22b3c67fa312c2041a6ca250feb709 |
|
BLAKE2b-256 | 4fec6c7689ea1b06ae17a6c984977f3ff10101a8518d6c08040e3eeb89d0922e |