Ejemplo n.º 1
0
 public MixpanelExport(string apiKey, string apiSecret, IMixpanelHttp http = null, ExportOptions options = null)
 {
     this._http      = http ?? new MixpanelHttp();
     this._apiKey    = apiKey;
     this._apiSecret = apiSecret;
     this._options   = options ?? new ExportOptions();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Creates a new Mixpanel tracker for a given API token
 /// </summary>
 /// <param name="token">The API token for MixPanel</param>
 /// <param name="http">An implementation of IMixpanelHttp, <see cref="MixpanelHttp"/>
 /// Determines if class names and properties will be serialized to JSON literally.
 /// If false (the default) spaces will be inserted between camel-cased words for improved
 /// readability on the reporting side.
 /// </param>
 /// <param name="options">Optional: Specific options for the API <see cref="TrackerOptions"/></param>
 public MixpanelTracker(string token, IMixpanelHttp http = null, TrackerOptions options = null)
     : base(token, http)
 {
     _options = options ?? new TrackerOptions();
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Creates a new Mixpanel Engage client for a given API token
 /// </summary>
 /// <param name="token">The API token for MixPanel</param>
 /// <param name="http">Optional: An implementation of IMixpanelHttp, <see cref="MixpanelHttp"/>
 /// Determines if class names and properties will be serialized to JSON literally.
 /// If false (the default) spaces will be inserted between camel-cased words for improved
 /// readability on the reporting side.
 /// </param>
 /// <param name="options">Optional: Specific options for the API <see cref="EngageOptions"/></param>
 public MixpanelEngage(string token, IMixpanelHttp http = null, EngageOptions options = null)
     : base(token, http)
 {
     _options = options ?? new EngageOptions();
 }
Ejemplo n.º 4
0
 protected MixpanelClientBase(string token, IMixpanelHttp http = null)
 {
     this.http  = http ?? new MixpanelHttp();
     this.token = token;
 }
Ejemplo n.º 5
0
 public MixpanelEngage(string token, IMixpanelHttp http = null) : base(token, http)
 {
 }
Ejemplo n.º 6
0
 protected MixpanelClientBase(string token, IMixpanelHttp http = null)
 {
     this.http = http ?? new MixpanelHttp();
     this.token = token;
 }
Ejemplo n.º 7
0
 public MixpanelEngage(string token, IMixpanelHttp http = null) : base(token, http)
 {
 }
Ejemplo n.º 8
0
 public WsMixpanelTracker(string token, IMixpanelHttp http = null, TrackerOptions options = null)
     : base(token, http, options)
 {
 }
Ejemplo n.º 9
0
 /// <summary>
 /// Creates a new Mixpanel Engage client for a given API token
 /// </summary>
 /// <param name="token">The API token for MixPanel</param>
 /// <param name="http">Optional: An implementation of IMixpanelHttp, <see cref="MixpanelHttp"/>
 /// Determines if class names and properties will be serialized to JSON literally.
 /// If false (the default) spaces will be inserted between camel-cased words for improved 
 /// readability on the reporting side.
 /// </param>
 /// <param name="options">Optional: Specific options for the API <see cref="EngageOptions"/></param>
 public MixpanelEngage(string token, IMixpanelHttp http = null, EngageOptions options = null)
   : base(token, http) {
   _options = options ?? new EngageOptions();
 }
Ejemplo n.º 10
0
 protected MixpanelClientBase(string token, IMixpanelHttp http = null)
 {
     this.http  = http ?? new MixpanelHttp();
     this.token = token;
     this.batch = new List <Dictionary <string, object> >();
 }