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.5.tar.gz
(6.1 kB
view hashes)
Built Distribution
Close
Hashes for py_front-0.0.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db7ca1bc5acd177ea6a5b62dac00f5bfb60b654ecd0e65523be7d0d3c17bc840 |
|
MD5 | b5fcc66ccb1d920a8bca2bc8e1273116 |
|
BLAKE2b-256 | 51365a69e7c16a9272a2aa68ed5162ce78008477e8b1a45b3915a67f9fa5b95d |