# CymbioApi.AnalyticsApi

All URIs are relative to *http://api1.cym.bio/v1*

Method | HTTP request | Description
------------- | ------------- | -------------
[**getAnalytics**](AnalyticsApi.md#getAnalytics) | **GET** /analytics | Retrieves store analytics


<a name="getAnalytics"></a>
# **getAnalytics**
> InlineResponse200 getAnalytics(startDay, endDay)

Retrieves store analytics

Retrieves store analytics for a date range

### Example
```javascript
var CymbioApi = require('cymbio_api');
var defaultClient = CymbioApi.ApiClient.default;

// Configure API key authorization: jwt
var jwt = defaultClient.authentications['jwt'];
jwt.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//jwt.apiKeyPrefix = 'Token';

var apiInstance = new CymbioApi.AnalyticsApi();

var startDay = new Date("2013-10-20"); // Date | Start day of the daye interval (As defined by full-date - RFC3339)

var endDay = new Date("2013-10-20"); // Date | End day of the daye interval (As defined by full-date - RFC3339)


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getAnalytics(startDay, endDay, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **startDay** | **Date**| Start day of the daye interval (As defined by full-date - RFC3339) | 
 **endDay** | **Date**| End day of the daye interval (As defined by full-date - RFC3339) | 

### Return type

[**InlineResponse200**](InlineResponse200.md)

### Authorization

[jwt](../README.md#jwt)

### HTTP request headers

 - **Content-Type**: application/json, application/x-www-form-urlencoded
 - **Accept**: application/json

