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)
TODOs and BUGS
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
python-zanox-api-0.4.0.zip
(8.5 kB
view hashes)