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


Download files

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

Files for python-zanox-api, version 0.4.0
Filename, size File type Python version Upload date Hashes
Filename, size python-zanox-api-0.4.0.zip (8.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page