C# client library for SeatGeek's Sixpack AB testing framework.
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.
Sixpack is a language-agnostic AB testing framework.