跳转到主要内容

简单接口,访问Kontagent REST API

项目描述

这是一个非常简单的Kontagent API,完全使用Python标准库中的模块编写。

以下是使用方法

from kontagent import Kontagent

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

该代码现在在生产环境中使用于http://radiosox.com/

所有可用方法的完整列表是

  • 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

您应咨询Kontagent REST服务器API以了解每个函数的功能。您可以在以下位置找到它

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

遗憾的是,目前您需要UTSL才能了解每个方法所需的参数。

希望这对您有所帮助!

项目详情


下载文件

下载适用于您平台的应用程序。如果您不确定要选择哪个,请了解更多关于安装包的信息。

源分发

pykontagent-0.3.tar.gz (5.2 kB 查看哈希值)

上传时间 源码

由以下支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误日志 StatusPage StatusPage 状态页面