Skip to main content

Python Zanox API - https://developer.zanox.com

Project description

Python Zanox API

Python zanox.com API - A simple Python wrapper around the zanox.com developer API

Publisher API - https://developer.zanox.com/web/guest/publisher-api-2011

Features

  • Easy to use wrapper
  • Generate tracking url for deeplinks

Dependencies

  • requests
  • xmltodict

Installation

$ pip install python-zanox-api

Example

>>> from zanox.apis import PublisherApi
>>> api = PublisherApi(connect_id='XXXXX', secret_key='XXXXX', from_email='yourmail@example.com')
>>> example1 = api.get('programs')
>>> example2 = api.get('programs', start_date='2012-01-01')
>>> example3 = api.get('programs/program/1234')
>>> example4 = api.get_tracking_url('http://www.example.com/foo/bar.html', adspace=XXXXX)
...

Parameters

  • connect_id Zanox Connect ID (required)
  • secret_key Zanox Secret Key (required)
  • domain default: api.zanox.com
  • format default: json
  • version default: 2011-03-01
  • ssl default: True
  • user_agent default: PythonZanoxApi/x.x.x
  • from_email (optional)

Project details


Release history Release notifications

This version
History Node

0.4.0

History Node

0.3.0

History Node

0.2.5

History Node

0.2.4

History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.2.0

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
python-zanox-api-0.4.0.zip (8.5 kB) Copy SHA256 hash SHA256 Source None Aug 27, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page