https://github.com/jayfk/django-keen
https://github.com/jayfk/django-keen
Last synced: 30 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jayfk/django-keen
- Owner: jayfk
- License: mit
- Created: 2014-08-04T15:05:16.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2016-09-23T10:14:23.000Z (over 9 years ago)
- Last Synced: 2025-01-27T09:41:34.285Z (over 1 year ago)
- Language: Python
- Size: 170 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
===========
django-keen
===========
Simple wrapper around the official keen.io client.::
from dkeen import add_event
add_event("user_subscribed", {"name": user.username})
Installation
=========
pip install django-keen
Configuration
-------------
put this in your django settings file
KEEN_PROJECT_ID = ""
KEEN_WRITE_KEY = ""
KEEN_READ_KEY = ""
KEEN_CELERY = False
Note: Calls to keen.io are blocking (you have to wait for a response). If you have a running celery installation, set KEEN_CELERY to True. All calls to add_event or add_events will be called in a task to prevent the blocking.