Simple API wrapper for Front.
Project description
# 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!
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!
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
py-front-0.0.2.tar.gz
(6.0 kB
view hashes)