outbrain

Wrapper for the Outbrain Amplify API


Keywords
outbrain, api, amplify
Licenses
LGPL-2.1/GPL-3.0+
Install
pip install outbrain==0.0.9

Documentation

python-outbrain Build Status

Python wrapper for Outbrain Amplify API

install

In production environments run make install. For development run make install-dev. The dev install includes everything in the production install as well as libraries for linting and unittesting

Copy over yaml file for outbrain credentials cp outbrain.yml.example outbrain.yml

Edit usename and password (note that this is the outbrain username and not the user email).

linting

make lint

testing

make test

usage

outbrain = OutbrainAmplifyApi()
for marketer_id in outbrain.get_marketer_ids():
    marketer = outbrain.get_marketer(marketer_id)

campaigns = outbrain.get_campaigns()