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 details)
File details
Details for the file py-front-0.0.2.tar.gz
.
File metadata
- Download URL: py-front-0.0.2.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 245a1b05193d0315612585a3181eb6a064f5e046e169e1a86fe433c6a027aada |
|
MD5 | baebb38f8ec57ed7e2703bfd9a0c9bda |
|
BLAKE2b-256 | 9ab7c7e2e219b8712aec35bb5b1e449feb35bd2dc3a1865ddf0d3a6f9d1207d1 |