Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 743 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 743 Bytes

sixpack-cs

C# client library for SeatGeek's Sixpack AB testing framework.

Usage

Here's the basic example:

var sixpack = new Session(Guid.NewGuid(), "http://127.0.0.1:5000", 500);

// Participate in a test (create the test if necesssary)
sixpack.Participate("experiment1", new[] { "alt1", "alt2", "alt3" }, "alt2", (exception, o) => {
	//...
});

// Convert
sixpack.Convert("experiment1", "kpi3", (ex, oo) => {
	//...
});

Each session has a clientId associated with it that must be preseved across requests.

Session optionally takes clientId, baseUrl, timeout, ipAddress and userAgent in the constructor.

What is Sixpack?

Sixpack is a language-agnostic AB testing framework.