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.

Source Distribution

shotty-0.1.6.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

shotty-0.1.6-py2-none-any.whl (6.4 kB view details)

Uploaded Python 2

File details

Details for the file shotty-0.1.6.tar.gz.

File metadata

  • Download URL: shotty-0.1.6.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for shotty-0.1.6.tar.gz
Algorithm Hash digest
SHA256 2d872ecaca8707317685942cbf38f434a87ad73021694f99cf871fff438799e8
MD5 350ff942213e926c2cfe617424c58d08
BLAKE2b-256 f9f801f45e19c399f5ecc69789d1ec9fb7637eb5141b2b7b8e8ed4e4ed347bf3

See more details on using hashes here.

File details

Details for the file shotty-0.1.6-py2-none-any.whl.

File metadata

File hashes

Hashes for shotty-0.1.6-py2-none-any.whl
Algorithm Hash digest
SHA256 75cc0b95d669bd8dc083456fd4441fd4969937ab528cea9c5b7a788cf19240f6
MD5 e5930f2b5eaefb29444c8d49297a7245
BLAKE2b-256 0130cb02b19341d54855b54cfa46c032341868be3cc890b89f889d92a59c912b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page