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 details)
Built Distribution
File details
Details for the file py-front-0.0.5.tar.gz
.
File metadata
- Download URL: py-front-0.0.5.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0b2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9811072fcc00858ebf9bbfb96dd068bfee0ab2de0b471c77236038354e1277e |
|
MD5 | accc4f8b8e04d39e0bc232c506307ce3 |
|
BLAKE2b-256 | a3bd3af0251bec8c3cb7b56b9e3601c3521d766fb8cae9e954f7f7fa14c1e0a5 |
File details
Details for the file py_front-0.0.5-py2.py3-none-any.whl
.
File metadata
- Download URL: py_front-0.0.5-py2.py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0b2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db7ca1bc5acd177ea6a5b62dac00f5bfb60b654ecd0e65523be7d0d3c17bc840 |
|
MD5 | b5fcc66ccb1d920a8bca2bc8e1273116 |
|
BLAKE2b-256 | 51365a69e7c16a9272a2aa68ed5162ce78008477e8b1a45b3915a67f9fa5b95d |