C# Class Keen.Core.KeenClient

Keen.IO API access
Exibir arquivo Open project: keenlabs/keen-sdk-net Class Usage Examples

Public Methods

Method Description
AddEvent ( string collection, object eventInfo, IEnumerable addOns = null ) : void

Add a single event to the specified collection.

AddEventAsync ( string collection, object eventInfo, IEnumerable addOns = null ) : System.Threading.Tasks.Task

Add a single event to the specified collection.

AddEvents ( string collection, IEnumerable eventsInfo, IEnumerable addOns = null ) : void

Insert multiple events in a single request.

AddEventsAsync ( string collection, IEnumerable eventsInfo, IEnumerable addOns = null ) : System.Threading.Tasks.Task

Add a collection of events to the specified collection

AddGlobalProperty ( string property, object value ) : void

Add a static global property. This property will be added to every event.

DeleteCollection ( string collection ) : void

Delete the specified collection. Deletion may be denied for collections with many events. Master API key is required.

DeleteCollectionAsync ( string collection ) : System.Threading.Tasks.Task

Delete the specified collection. Deletion may be denied for collections with many events. Master API key is required.

GetQueries ( ) : string>>>.Task

Retrieve a list of all the queries supported by the API.

GetSchema ( string collection ) : dynamic

Retrieve the schema for the specified collection. This requires a value for the project settings Master API key.

GetSchemaAsync ( string collection ) : Task

Retrieve the schema for the specified collection. This requires a value for the project settings Master API key.

GetSchemas ( ) : Newtonsoft.Json.Linq.JArray

Return schema information for all the event collections in this project.

GetSchemasAsync ( ) : Task

Return schema information for all the event collections in this project.

KeenClient ( IProjectSettings prjSettings ) : Keen.Core.DataEnrichment

KeenClient ( IProjectSettings prjSettings, IEventCache eventCache ) : Keen.Core.DataEnrichment

Query ( string queryName, string>.Dictionary parms ) : Newtonsoft.Json.Linq.JObject

Call any Keen.IO API function with the specified parameters. Refer to Keen API documentation for details of request parameters and return type. Return type may be cast as dynamic.

Query ( Keen.Core.Query.QueryType queryType, string collection, string targetProperty, QueryTimeframe timeframe = null, IEnumerable filters = null, string timezone = "" ) : string

Return a single value.

QueryAsync ( string queryName, string>.Dictionary parms ) : Task

Call any Keen.IO API function with the specified parameters.

QueryAsync ( Keen.Core.Query.QueryType queryType, string collection, string targetProperty, QueryTimeframe timeframe = null, IEnumerable filters = null, string timezone = "" ) : Task

Run a query returning a single value.

QueryExtractResource ( string collection, QueryTimeframe timeframe = null, IEnumerable filters = null, int latest, string email = "" ) : IEnumerable

Extract full-form event data with all property values.

QueryExtractResourceAsync ( string collection, QueryTimeframe timeframe = null, IEnumerable filters = null, int latest, string email = "" ) : Task>

Extract full-form event data with all property values.

QueryFunnel ( IEnumerable steps, QueryTimeframe timeframe = null, string timezone = "" ) : Keen.Core.Query.FunnelResult

Funnels count relevant events in succession. See API documentation for details.

QueryFunnelAsync ( IEnumerable steps, QueryTimeframe timeframe = null, string timezone = "" ) : Task

Funnels count relevant events in succession. See API documentation for details.

QueryGroup ( Keen.Core.Query.QueryType queryType, string collection, string targetProperty, string groupBy, QueryTimeframe timeframe = null, IEnumerable filters = null, string timezone = "" ) : IEnumerable>

Returns values collected by group.

QueryGroupAsync ( Keen.Core.Query.QueryType queryType, string collection, string targetProperty, string groupBy, QueryTimeframe timeframe = null, IEnumerable filters = null, string timezone = "" ) : Task>>

Returns values collected by group.

QueryInterval ( Keen.Core.Query.QueryType queryType, string collection, string targetProperty, QueryTimeframe timeframe, Keen.Core.Query.QueryInterval interval = null, IEnumerable filters = null, string timezone = "" ) : IEnumerable>

Returns values collected by time interval.

QueryIntervalAsync ( Keen.Core.Query.QueryType queryType, string collection, string targetProperty, QueryTimeframe timeframe, Keen.Core.Query.QueryInterval interval = null, IEnumerable filters = null, string timezone = "" ) : Task>>

Return values collected by time interval.

QueryIntervalGroup ( Keen.Core.Query.QueryType queryType, string collection, string targetProperty, string groupBy, QueryTimeframe timeframe, Keen.Core.Query.QueryInterval interval, IEnumerable filters = null, string timezone = "" ) : IEnumerable>>>

Returns items collected by time interval and group.

QueryIntervalGroupAsync ( Keen.Core.Query.QueryType queryType, string collection, string targetProperty, string groupBy, QueryTimeframe timeframe, Keen.Core.Query.QueryInterval interval, IEnumerable filters = null, string timezone = "" ) : Task>>>>

Returns items collected by time interval and group.

QueryMultiAnalysis ( string collection, IEnumerable analysisParams, QueryTimeframe timeframe = null, IEnumerable filters = null, string timezone = "" ) : string>.IDictionary

Run multiple types of analysis over the same data.

QueryMultiAnalysisAsync ( string collection, IEnumerable analysisParams, QueryTimeframe timeframe = null, IEnumerable filters = null, string timezone = "" ) : string>>.Task

Run multiple types of analysis over the same data.

QueryMultiAnalysisGroup ( string collection, IEnumerable analysisParams, QueryTimeframe timeframe = null, IEnumerable filters = null, string groupBy = "", string timezone = "" ) : string>>>.IEnumerable

Run multiple types of analysis over the same data, grouped by the specified field.

QueryMultiAnalysisGroupAsync ( string collection, IEnumerable analysisParams, QueryTimeframe timeframe = null, IEnumerable filters = null, string groupBy = "", string timezone = "" ) : string>>>>.Task

Run multiple types of analysis over the same data, grouped by the specified field.

QueryMultiAnalysisInterval ( string collection, IEnumerable analysisParams, QueryTimeframe timeframe = null, Keen.Core.Query.QueryInterval interval = null, IEnumerable filters = null, string timezone = "" ) : string>>>.IEnumerable

Run multiple types of analysis over the same data. Each item represents one interval.

QueryMultiAnalysisIntervalAsync ( string collection, IEnumerable analysisParams, QueryTimeframe timeframe = null, Keen.Core.Query.QueryInterval interval = null, IEnumerable filters = null, string timezone = "" ) : string>>>>.Task

Run multiple types of analysis over the same data. Each item represents one interval.

QueryMultiAnalysisIntervalGroup ( string collection, IEnumerable analysisParams, QueryTimeframe timeframe = null, Keen.Core.Query.QueryInterval interval = null, IEnumerable filters = null, string groupBy = "", string timezone = "" ) : string>>>>>.IEnumerable
QueryMultiAnalysisIntervalGroupAsync ( string collection, IEnumerable analysisParams, QueryTimeframe timeframe = null, Keen.Core.Query.QueryInterval interval = null, IEnumerable filters = null, string groupBy = "", string timezone = "" ) : string>>>>>>.Task
SendCachedEvents ( ) : void

Submit all events found in the event cache. If an events are rejected by the server, KeenCacheException will be thrown with a listing of the rejected events, each with the error message it received.

SendCachedEventsAsync ( ) : System.Threading.Tasks.Task

Submit all events found in the event cache. If an events are rejected by the server, KeenCacheException will be thrown with a listing of the rejected events, each with the error message it received.

Private Methods

Method Description
AddEventsBulkAsync ( string collection, IEnumerable eventsInfo ) : Task>

Add a collection of events to the specified collection. Assumes that objects in the collection have already been through AddEvent to receive global properties.

ExecDynamicPropertyValue ( string propName, IDynamicPropertyValue dynProp ) : void
PrepareUserObject ( object eventInfo, IEnumerable addOns ) : Newtonsoft.Json.Linq.JObject

Convert a user-supplied object to a JObject that can be sent to the Keen.IO API. This writes any global properties to the object and records the time.

Method Details

AddEvent() public method

Add a single event to the specified collection.
public AddEvent ( string collection, object eventInfo, IEnumerable addOns = null ) : void
collection string Collection name
eventInfo object An object representing the event to be added.
addOns IEnumerable Optional collection of Data Enhancement Add-ons
return void

AddEventAsync() public method

Add a single event to the specified collection.
public AddEventAsync ( string collection, object eventInfo, IEnumerable addOns = null ) : System.Threading.Tasks.Task
collection string Collection name
eventInfo object The event to add.
addOns IEnumerable Optional collection of Data Enhancement Add-ons
return System.Threading.Tasks.Task

AddEvents() public method

Insert multiple events in a single request.
public AddEvents ( string collection, IEnumerable eventsInfo, IEnumerable addOns = null ) : void
collection string Collection name
eventsInfo IEnumerable Collection of events to add
addOns IEnumerable Optional collection of Data Enhancement Add-ons
return void

AddEventsAsync() public method

Add a collection of events to the specified collection
public AddEventsAsync ( string collection, IEnumerable eventsInfo, IEnumerable addOns = null ) : System.Threading.Tasks.Task
collection string Collection name
eventsInfo IEnumerable Collection of events to add
addOns IEnumerable Optional collection of Data Enhancement Add-ons
return System.Threading.Tasks.Task

AddGlobalProperty() public method

Add a static global property. This property will be added to every event.
public AddGlobalProperty ( string property, object value ) : void
property string Property name
value object Property value. This may be a simple value, array, or object, /// or an object that supports IDynamicPropertyValue returning one of those.
return void

DeleteCollection() public method

Delete the specified collection. Deletion may be denied for collections with many events. Master API key is required.
public DeleteCollection ( string collection ) : void
collection string Name of collection to delete.
return void

DeleteCollectionAsync() public method

Delete the specified collection. Deletion may be denied for collections with many events. Master API key is required.
public DeleteCollectionAsync ( string collection ) : System.Threading.Tasks.Task
collection string Name of collection to delete.
return System.Threading.Tasks.Task

GetQueries() public method

Retrieve a list of all the queries supported by the API.
public GetQueries ( ) : string>>>.Task
return string>>>.Task

GetSchema() public method

Retrieve the schema for the specified collection. This requires a value for the project settings Master API key.
public GetSchema ( string collection ) : dynamic
collection string
return dynamic

GetSchemaAsync() public method

Retrieve the schema for the specified collection. This requires a value for the project settings Master API key.
public GetSchemaAsync ( string collection ) : Task
collection string
return Task

GetSchemas() public method

Return schema information for all the event collections in this project.
public GetSchemas ( ) : Newtonsoft.Json.Linq.JArray
return Newtonsoft.Json.Linq.JArray

GetSchemasAsync() public method

Return schema information for all the event collections in this project.
public GetSchemasAsync ( ) : Task
return Task

KeenClient() public method

public KeenClient ( IProjectSettings prjSettings ) : Keen.Core.DataEnrichment
prjSettings IProjectSettings A ProjectSettings instance containing the ProjectId and API keys
return Keen.Core.DataEnrichment

KeenClient() public method

public KeenClient ( IProjectSettings prjSettings, IEventCache eventCache ) : Keen.Core.DataEnrichment
prjSettings IProjectSettings A ProjectSettings instance containing the ProjectId and API keys
eventCache IEventCache An IEventCache instance providing a caching strategy
return Keen.Core.DataEnrichment

Query() public method

Call any Keen.IO API function with the specified parameters. Refer to Keen API documentation for details of request parameters and return type. Return type may be cast as dynamic.
public Query ( string queryName, string>.Dictionary parms ) : Newtonsoft.Json.Linq.JObject
queryName string Query name, e.g., KeenConstants.QueryCount
parms string>.Dictionary Parameters for query, API keys are not required here.
return Newtonsoft.Json.Linq.JObject

Query() public method

Return a single value.
public Query ( Keen.Core.Query.QueryType queryType, string collection, string targetProperty, QueryTimeframe timeframe = null, IEnumerable filters = null, string timezone = "" ) : string
queryType Keen.Core.Query.QueryType Type of query to run.
collection string Name of event collection to query.
targetProperty string Name of property to analyse.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
filters IEnumerable Filter to narrow down the events used in analysis. Optional, may be null.
timezone string The timezone to use when specifying a relative timeframe. Optional, may be blank.
return string

QueryAsync() public method

Call any Keen.IO API function with the specified parameters.
public QueryAsync ( string queryName, string>.Dictionary parms ) : Task
queryName string
parms string>.Dictionary
return Task

QueryAsync() public method

Run a query returning a single value.
public QueryAsync ( Keen.Core.Query.QueryType queryType, string collection, string targetProperty, QueryTimeframe timeframe = null, IEnumerable filters = null, string timezone = "" ) : Task
queryType Keen.Core.Query.QueryType Type of query to run.
collection string Name of event collection to query.
targetProperty string Name of property to analyse.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
filters IEnumerable Filter to narrow down the events used in analysis. Optional, may be null.
timezone string The timezone to use when specifying a relative timeframe. Optional, may be blank.
return Task

QueryExtractResource() public method

Extract full-form event data with all property values.
public QueryExtractResource ( string collection, QueryTimeframe timeframe = null, IEnumerable filters = null, int latest, string email = "" ) : IEnumerable
collection string Name of event collection to query.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
filters IEnumerable Filter to narrow down the events used in analysis. Optional, may be null.
latest int Request up to 100 of the most recent events added to a given collection.
email string If specified, email will be sent when the data is ready for download. Otherwise, it will be returned directly.
return IEnumerable

QueryExtractResourceAsync() public method

Extract full-form event data with all property values.
public QueryExtractResourceAsync ( string collection, QueryTimeframe timeframe = null, IEnumerable filters = null, int latest, string email = "" ) : Task>
collection string Name of event collection to query.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
filters IEnumerable Filter to narrow down the events used in analysis. Optional, may be null.
latest int Request up to 100 of the most recent events added to a given collection.
email string If specified, email will be sent when the data is ready for download. Otherwise, it will be returned directly.
return Task>

QueryFunnel() public method

Funnels count relevant events in succession. See API documentation for details.
public QueryFunnel ( IEnumerable steps, QueryTimeframe timeframe = null, string timezone = "" ) : Keen.Core.Query.FunnelResult
steps IEnumerable Analysis steps for funnel.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
timezone string The timezone to use when specifying a relative timeframe. Optional, may be blank.
return Keen.Core.Query.FunnelResult

QueryFunnelAsync() public method

Funnels count relevant events in succession. See API documentation for details.
public QueryFunnelAsync ( IEnumerable steps, QueryTimeframe timeframe = null, string timezone = "" ) : Task
steps IEnumerable Analysis steps for funnel.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
timezone string The timezone to use when specifying a relative timeframe. Optional, may be blank.
return Task

QueryGroup() public method

Returns values collected by group.
public QueryGroup ( Keen.Core.Query.QueryType queryType, string collection, string targetProperty, string groupBy, QueryTimeframe timeframe = null, IEnumerable filters = null, string timezone = "" ) : IEnumerable>
queryType Keen.Core.Query.QueryType Type of query to run.
collection string Name of event collection to query.
targetProperty string Name of property to analyse.
groupBy string Name of a collection field by which to group results.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
filters IEnumerable Filter to narrow down the events used in analysis. Optional, may be null.
timezone string The timezone to use when specifying a relative timeframe. Optional, may be blank.
return IEnumerable>

QueryGroupAsync() public method

Returns values collected by group.
public QueryGroupAsync ( Keen.Core.Query.QueryType queryType, string collection, string targetProperty, string groupBy, QueryTimeframe timeframe = null, IEnumerable filters = null, string timezone = "" ) : Task>>
queryType Keen.Core.Query.QueryType Type of query to run.
collection string Name of event collection to query.
targetProperty string Name of property to analyse.
groupBy string Name of a collection field by which to group results.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
filters IEnumerable Filter to narrow down the events used in analysis. Optional, may be null.
timezone string The timezone to use when specifying a relative timeframe. Optional, may be blank.
return Task>>

QueryInterval() public method

Returns values collected by time interval.
public QueryInterval ( Keen.Core.Query.QueryType queryType, string collection, string targetProperty, QueryTimeframe timeframe, Keen.Core.Query.QueryInterval interval = null, IEnumerable filters = null, string timezone = "" ) : IEnumerable>
queryType Keen.Core.Query.QueryType Type of query to run.
collection string Name of event collection to query.
targetProperty string Name of property to analyse.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
interval Keen.Core.Query.QueryInterval The block size for partitioning the specified timeframe. Optional, may be null.
filters IEnumerable Filters to narrow down the events used in analysis. Optional, may be null.
timezone string The timezone to use when specifying a relative timeframe. Optional, may be blank.
return IEnumerable>

QueryIntervalAsync() public method

Return values collected by time interval.
public QueryIntervalAsync ( Keen.Core.Query.QueryType queryType, string collection, string targetProperty, QueryTimeframe timeframe, Keen.Core.Query.QueryInterval interval = null, IEnumerable filters = null, string timezone = "" ) : Task>>
queryType Keen.Core.Query.QueryType Type of query to run.
collection string Name of event collection to query.
targetProperty string Name of property to analyse.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
interval Keen.Core.Query.QueryInterval The block size for partitioning the specified timeframe. Optional, may be null.
filters IEnumerable Filters to narrow down the events used in analysis. Optional, may be null.
timezone string The timezone to use when specifying a relative timeframe. Optional, may be blank.
return Task>>

QueryIntervalGroup() public method

Returns items collected by time interval and group.
public QueryIntervalGroup ( Keen.Core.Query.QueryType queryType, string collection, string targetProperty, string groupBy, QueryTimeframe timeframe, Keen.Core.Query.QueryInterval interval, IEnumerable filters = null, string timezone = "" ) : IEnumerable>>>
queryType Keen.Core.Query.QueryType Type of query to run.
collection string Name of event collection to query.
targetProperty string Name of property to analyse.
groupBy string Name of field by which to group results.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
interval Keen.Core.Query.QueryInterval The block size for partitioning the specified timeframe. Optional, may be null.
filters IEnumerable Filters to narrow down the events used in analysis. Optional, may be null.
timezone string The timezone to use when specifying a relative timeframe. Optional, may be blank.
return IEnumerable>>>

QueryIntervalGroupAsync() public method

Returns items collected by time interval and group.
public QueryIntervalGroupAsync ( Keen.Core.Query.QueryType queryType, string collection, string targetProperty, string groupBy, QueryTimeframe timeframe, Keen.Core.Query.QueryInterval interval, IEnumerable filters = null, string timezone = "" ) : Task>>>>
queryType Keen.Core.Query.QueryType Type of query to run.
collection string Name of event collection to query.
targetProperty string Name of property to analyse.
groupBy string Name of field by which to group results.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
interval Keen.Core.Query.QueryInterval The block size for partitioning the specified timeframe. Optional, may be null.
filters IEnumerable Filters to narrow down the events used in analysis. Optional, may be null.
timezone string The timezone to use when specifying a relative timeframe. Optional, may be blank.
return Task>>>>

QueryMultiAnalysis() public method

Run multiple types of analysis over the same data.
public QueryMultiAnalysis ( string collection, IEnumerable analysisParams, QueryTimeframe timeframe = null, IEnumerable filters = null, string timezone = "" ) : string>.IDictionary
collection string Name of event collection to query.
analysisParams IEnumerable Defines the multiple types of analyses to perform.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
filters IEnumerable Filter to narrow down the events used in analysis. Optional, may be null.
timezone string The timezone to use when specifying a relative timeframe. Optional, may be blank.
return string>.IDictionary

QueryMultiAnalysisAsync() public method

Run multiple types of analysis over the same data.
public QueryMultiAnalysisAsync ( string collection, IEnumerable analysisParams, QueryTimeframe timeframe = null, IEnumerable filters = null, string timezone = "" ) : string>>.Task
collection string Name of event collection to query.
analysisParams IEnumerable Defines the multiple types of analyses to perform.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
filters IEnumerable Filter to narrow down the events used in analysis. Optional, may be null.
timezone string The timezone to use when specifying a relative timeframe. Optional, may be blank.
return string>>.Task

QueryMultiAnalysisGroup() public method

Run multiple types of analysis over the same data, grouped by the specified field.
public QueryMultiAnalysisGroup ( string collection, IEnumerable analysisParams, QueryTimeframe timeframe = null, IEnumerable filters = null, string groupBy = "", string timezone = "" ) : string>>>.IEnumerable
collection string Name of event collection to query.
analysisParams IEnumerable Defines the multiple types of analyses to perform.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
filters IEnumerable Filter to narrow down the events used in analysis. Optional, may be null.
groupBy string Name of a collection field by which to group results.
timezone string The timezone to use when specifying a relative timeframe. Optional, may be blank.
return string>>>.IEnumerable

QueryMultiAnalysisGroupAsync() public method

Run multiple types of analysis over the same data, grouped by the specified field.
public QueryMultiAnalysisGroupAsync ( string collection, IEnumerable analysisParams, QueryTimeframe timeframe = null, IEnumerable filters = null, string groupBy = "", string timezone = "" ) : string>>>>.Task
collection string Name of event collection to query.
analysisParams IEnumerable Defines the multiple types of analyses to perform.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
filters IEnumerable Filter to narrow down the events used in analysis. Optional, may be null.
groupBy string Name of a collection field by which to group results.
timezone string The timezone to use when specifying a relative timeframe. Optional, may be blank.
return string>>>>.Task

QueryMultiAnalysisInterval() public method

Run multiple types of analysis over the same data. Each item represents one interval.
public QueryMultiAnalysisInterval ( string collection, IEnumerable analysisParams, QueryTimeframe timeframe = null, Keen.Core.Query.QueryInterval interval = null, IEnumerable filters = null, string timezone = "" ) : string>>>.IEnumerable
collection string Name of event collection to query.
analysisParams IEnumerable Defines the multiple types of analyses to perform.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
interval Keen.Core.Query.QueryInterval The block size for partitioning the specified timeframe. Optional, may be null.
filters IEnumerable Filters to narrow down the events used in analysis. Optional, may be null.
timezone string The timezone to use when specifying a relative timeframe. Optional, may be blank.
return string>>>.IEnumerable

QueryMultiAnalysisIntervalAsync() public method

Run multiple types of analysis over the same data. Each item represents one interval.
public QueryMultiAnalysisIntervalAsync ( string collection, IEnumerable analysisParams, QueryTimeframe timeframe = null, Keen.Core.Query.QueryInterval interval = null, IEnumerable filters = null, string timezone = "" ) : string>>>>.Task
collection string Name of event collection to query.
analysisParams IEnumerable Defines the multiple types of analyses to perform.
timeframe QueryTimeframe Specifies window of time from which to select events for analysis. May be absolute or relative.
interval Keen.Core.Query.QueryInterval The block size for partitioning the specified timeframe. Optional, may be null.
filters IEnumerable Filters to narrow down the events used in analysis. Optional, may be null.
timezone string The timezone to use when specifying a relative timeframe. Optional, may be blank.
return string>>>>.Task

QueryMultiAnalysisIntervalGroup() public method

public QueryMultiAnalysisIntervalGroup ( string collection, IEnumerable analysisParams, QueryTimeframe timeframe = null, Keen.Core.Query.QueryInterval interval = null, IEnumerable filters = null, string groupBy = "", string timezone = "" ) : string>>>>>.IEnumerable
collection string
analysisParams IEnumerable
timeframe QueryTimeframe
interval Keen.Core.Query.QueryInterval
filters IEnumerable
groupBy string
timezone string
return string>>>>>.IEnumerable

QueryMultiAnalysisIntervalGroupAsync() public method

public QueryMultiAnalysisIntervalGroupAsync ( string collection, IEnumerable analysisParams, QueryTimeframe timeframe = null, Keen.Core.Query.QueryInterval interval = null, IEnumerable filters = null, string groupBy = "", string timezone = "" ) : string>>>>>>.Task
collection string
analysisParams IEnumerable
timeframe QueryTimeframe
interval Keen.Core.Query.QueryInterval
filters IEnumerable
groupBy string
timezone string
return string>>>>>>.Task

SendCachedEvents() public method

Submit all events found in the event cache. If an events are rejected by the server, KeenCacheException will be thrown with a listing of the rejected events, each with the error message it received.
public SendCachedEvents ( ) : void
return void

SendCachedEventsAsync() public method

Submit all events found in the event cache. If an events are rejected by the server, KeenCacheException will be thrown with a listing of the rejected events, each with the error message it received.
public SendCachedEventsAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task