Tiny REST API Client for intercom.io
Project description
# intercomic
Tiny Client for the Intercom API (https://api.intercom.io/)
## Installation
Will be soon at PYPI
## Basic Usage
### Configure your client
```python
from intercomic import IntercomApp
intercom = IntercomApp(access_token='your-access-token')
```
### Examples
#### Users
```python
# Create a user
import json
user = intercom.users.create(json.dumps({'email': 'john@example.com', 'name': 'John'}))
# Find user by user_id
user = intercom.users.get(filters={'user_id': 1})
# Find user by email
user = intercom.users.get(filters={'email': email})
# Delete a user
user = intercom.users.delete(filters={'user_id': 1})
```
Tiny Client for the Intercom API (https://api.intercom.io/)
## Installation
Will be soon at PYPI
## Basic Usage
### Configure your client
```python
from intercomic import IntercomApp
intercom = IntercomApp(access_token='your-access-token')
```
### Examples
#### Users
```python
# Create a user
import json
user = intercom.users.create(json.dumps({'email': 'john@example.com', 'name': 'John'}))
# Find user by user_id
user = intercom.users.get(filters={'user_id': 1})
# Find user by email
user = intercom.users.get(filters={'email': email})
# Delete a user
user = intercom.users.delete(filters={'user_id': 1})
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file intercomic-0.1.1-py3-none-any.whl.
File metadata
- Download URL: intercomic-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f07bd7327381a2844e2d39236d495e1ae50c3eb64b80265af61f0826afd549d4
|
|
| MD5 |
d208c3537f2150ed50e6428b1114ec9d
|
|
| BLAKE2b-256 |
6b71e6a4828da04ffb9b498498193bdf71b23d0c32f24be9b34c039a6aaae592
|