Metadata-Version: 2.1
Name: pyframes
Version: 0.0.16
Summary: Python interface for the frames.ai database.
Home-page: https://github.com/Sensoritio/pyframes
Author: Darryn Anton Jordan
Author-email: <darryn@sensorit.io>
License: UNKNOWN
Keywords: python,frames.ai,sensorit
Platform: UNKNOWN
Classifier: Development Status :: 1 - Planning
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Description-Content-Type: text/markdown

# pyframes
Python package for interfacing with the frames.ai database.

Create an account at [spothole.sensorit.io](https://spothole.sensorit.io) to get started.

## Install
```
pip3 install pyframes
```

## Examples
1. Sign in to your account [here](https://spothole.sensorit.io/sign_in).
2. Get your JWT [here](https://spothole.sensorit.io/api/).

```
import pyframes
fm = pyframes.FramesManager()

# replace with your acquired JWT 
fm.set_jwt("<JWT>")

# find some record ids in Cape Town
ids = fm.search(lat=-33.918861, lon=18.423300, radius=1000)
print(ids)

# print some info about the record
record = fm.get_record(ids[0])
print(record.id, record.uint32_t_created)
```


