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


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

intercomic-0.1.1-py3-none-any.whl (4.6 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page