Skip to main content

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.

I haven’t put it into production yet, but plan to in the near future (at which point I will change this notice to say that I am using it in production).

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’)

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

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

http://support.kontagent.com/reference/api-documentation/facebook-rest-server-api

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!

Project details


Download files

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

Source Distribution

pykontagent-0.1.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file pykontagent-0.1.tar.gz.

File metadata

  • Download URL: pykontagent-0.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pykontagent-0.1.tar.gz
Algorithm Hash digest
SHA256 098bedf9b124541ea0fb8903afaeae58b9aa5deca426538576ffbd5aadf561d1
MD5 4a76603f54018199094eef557ce64e44
BLAKE2b-256 5a4ef6840f947ca1865ead455020fd5238c011da00065435596fdad273e85a7a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page