Metadata-Version: 2.1
Name: py-front
Version: 0.0.5
Summary: Simple API wrapper for Front.
Home-page: https://github.com/tizz98/py-front
Author: Elijah Wilson
Author-email: elijah@elijahwilson.me
License: MIT
Download-URL: https://github.com/tizz98/py-front/tarball/0.0.5
Keywords: front api frontapp
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Requires-Dist: requests (==2.20.0)
Requires-Dist: marshmallow (==2.16.3)
Requires-Dist: six (==1.11.0)
Requires-Dist: pytz (==2018.7)

# py-front

A python API wrapper around [Front](https://frontapp.com).

# Installation

```bash
pip install py-front
```

# Usage

## Set api key

```python
import front
front.set_api_key("jwt_token")
```

## Use the api

```python
import front

for conv in front.Conversation.objects.all():
    print(conv.id, conv.subject)
```

# Available models

- Contact
  - https://dev.frontapp.com/#contacts
- Tag
  - https://dev.frontapp.com/#tags
- Channel
  - https://dev.frontapp.com/#channels
- Conversation
  - https://dev.frontapp.com/#conversations
- Inbox
  - https://dev.frontapp.com/#inboxes
- Teammate
  - https://dev.frontapp.com/#teammates
- _More soon..._ PRs are welcome!


