Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Latest commit

 

History

History
26 lines (17 loc) · 653 Bytes

README.rst

File metadata and controls

26 lines (17 loc) · 653 Bytes

Bouncer python client

A python client for the bouncer A/B testing and feature switching service.

Getting started

A quick synopsis:

from bouncer import Bouncer

bc = Bouncer(service_url='http://localhost:5000')  # default value

# Get the current configuration
bc.configured_experiments()
bc.configured_features()
bc.configured_groups()

# Get service stats, load times etc
bc.stats()

# Participate in AB tests and get featured courses
features, experiments = bc.paricipate({'uid': 'youruid'}, timeout=1, fallback=False)