The python interface to the collins api.
Project description
To install this package:
python setup.py install
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']})
```
python setup.py install
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
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
collins_client-0.1.1.tar.gz
(2.6 kB
view hashes)