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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size intercomic-0.1.1-py3-none-any.whl (4.6 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
Close
Hashes for intercomic-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f07bd7327381a2844e2d39236d495e1ae50c3eb64b80265af61f0826afd549d4 |
|
MD5 | d208c3537f2150ed50e6428b1114ec9d |
|
BLAKE2-256 | 6b71e6a4828da04ffb9b498498193bdf71b23d0c32f24be9b34c039a6aaae592 |