Skip to main content

UNKNOWN

Project description

shotty
===========================================================

Installation
------------

Installation using pip::

pip install shotty

Usage
-----

*Usage instructions here*
```python
from shotty import api
shotty = api('localhost', '54342a78-e2e8f65f-8040ae5f-5a01fe75-66909b98')
```

```python
shotty.get('users') # get all users
shotty.get('users', id='785845fjdfg930459') # get one user
shotty.changes('users') # get realtime updates for all users
```

```python
shotty.get('projects') # get all projects
p = shotty.get('projects', id='CASINO') # get one project
print p['paths']['root']
```

```python
shotty.get('shots', id='54342a78-e2e8f65f-8040ae5f') # get one shot
shots = shotty.get('shots', projectId='CASINO') # get all shots for test project
print len(shots)
print 'shots with client status', len([shot for shot in shots if shot['status'] == 'client'])

shotty.changes('shots') # get realtime updates for all shots
```

```python
shotty.get('versions', id='54342a78-e2e8f65f-8040ae5f') # get one version
versions = shotty.get('versions', projectId='CASINO') # get all versions for test project
print 'dailies versions', len([version for version in versions if version['type'] == 'dailies'])
shotty.get('versions', shotId='748324hfsd904') # get all versions for one shot
shotty.changes('versions') # get realtime updates for all versions
```



Credits
-------

*Any credits here*

shotty is packaged using seed_.

.. _seed: https://github.com/adamcharnock/seed/

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
shotty-0.1.6-py2-none-any.whl (6.4 kB) Copy SHA256 hash SHA256 Wheel 2.7
shotty-0.1.6.tar.gz (3.2 kB) Copy SHA256 hash SHA256 Source None

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 SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page