Django integration for Intercom API
Project description
Django integration for Intercom API
Installation
To use you need to add aa_intercom to your INSTALLED_APPS, and then migrate the project.
Setting up user model
aa-intercom requires a few fields in the user model to be set. To make it work, you need to apply the aa_intercom.mixins.IntercomUserMixin to your custom user model (if you do not have your own custom user model set, check the documentation).
Configuration
The last thing is to specify Intercom credentials
INTERCOM_APP_ID = "app id" INTERCOM_ID_PREFIX = "" INTERCOM_API_ACCESS_TOKEN = "your access key"
Make sure, you have the CACHES set (see: docs), and also as this app uses Celery, you need to have it configured.
Commands
aa-intercom provides a few useful management commands, which should be run chronically:
resend_intercom_events - resends all events in case something went wrong
update_intercom_users - push all users to the Intercom API
Support
Django 1.11
Python 2.7, 3.6
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
Built Distribution
Hashes for aa_intercom-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6a6f37fbbaba74b8fc74853226cfb28898e24702815db191c7d5c0f225e4140 |
|
MD5 | cd93e17248ce81f68c58bb6156968b45 |
|
BLAKE2b-256 | 4ee37188d987bb3df773a68262c3d1b0968837bff51334d054008686262e5812 |