https://github.com/ericflo/pykontagent
A simple interface into the Kontagent REST API
https://github.com/ericflo/pykontagent
Last synced: 11 months ago
JSON representation
A simple interface into the Kontagent REST API
- Host: GitHub
- URL: https://github.com/ericflo/pykontagent
- Owner: ericflo
- License: bsd-3-clause
- Created: 2009-10-15T07:43:52.000Z (over 16 years ago)
- Default Branch: master
- Last Pushed: 2010-06-29T19:26:19.000Z (almost 16 years ago)
- Last Synced: 2025-07-02T20:18:34.821Z (12 months ago)
- Language: Python
- Homepage:
- Size: 97.7 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
- License: LICENSE.txt
Awesome Lists containing this project
README
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 http://radiosox.com/
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:
http://developers.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!