Skip to main content

The python interface to the collins api.

Project description

To install this package:

> python3 -m pip install collins-client

To use this package:

> import collins_client > client = collins_client.CollinsClient(<username>, <password>, <host>)

From there you can make any of the calls needed for the functionality of the collins api.

When dealing with multiple attributes, you should be able to pass a list of values. Say you want to find assets with a certain hostname and a primary role.

> client.asset_finder({‘attribute’: [‘HOSTNAME;example.tumblr.net’, ‘PRIMARY_ROLE;TUMBLR_APP’]})

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for collins-client, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size collins_client-1.0.0-py3-none-any.whl (4.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size collins_client-1.0.0.tar.gz (4.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page