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;’, ‘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.

Source Distribution

collins_client-1.0.0.tar.gz (4.0 kB view hashes)

Uploaded source

Built Distribution

collins_client-1.0.0-py3-none-any.whl (4.5 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page