py-octoxlabs is an API client for Octox Labs Cyber Security Asset Management platform on python programming language.
pip install octoxlabs
- Go to settings
- Click "Add User" button
- Type Username and choose User Type as "API User"
- Click "Create" button
- Click your user's Edit button
- Copy API Token
from octoxlabs import OctoxLabs
octo = OctoxLabs(ip="<your-octoxlabs-platform-ip>", token="<your-api-token>")
count, assets = octo.search_devices(query="Adapters = active-directory")
Also see; CONTRIBUTING.md