Skip to main content

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})
```


Project details


Release history Release notifications

This version

0.1.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for intercomic, version 0.1.1
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 hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page