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.

Files for shotty, version 0.1.6
Filename, size File type Python version Upload date Hashes
Filename, size shotty-0.1.6-py2-none-any.whl (6.4 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size shotty-0.1.6.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View

Supported by

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