Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A simple interface into the Kontagent REST API

Project Description

This is a very minimal API into Kontagent, written using purely modules from the Python standard library.

Here’s how you might use it:

from kontagent import Kontagent

k = Kontagent(‘MY_API_KEY’, ‘MY_SECRET_KEY’) k.invite_sent(16904779, [542469672], tracking_tag=’testtag’)

This is now being used in production for

A full list of all of the methods available is:

  • invite_sent
  • invite_click_response
  • notification_sent
  • notification_click_response
  • notification_email_sent
  • notification_email_response
  • post
  • post_response
  • application_added
  • application_removed
  • undirected_communication_click
  • page_request
  • user_information
  • goal_counts
  • revenue_tracking
  • raw_request

You should consult with the Kontagent REST Server API to see what each of these functions does. You can find that here:

Unfortunately, for right now you’re going to have to UTSL to find out about the parameters that each method takes.

Hope you find this useful!

Release History

Release History

This version
History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pykontagent-0.3.tar.gz (5.2 kB) Copy SHA256 Checksum SHA256 Source Dec 29, 2009

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting