Skip to content

Commit

Permalink
5.10.32613
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepsinn committed Mar 26, 2019
1 parent 0c94f32 commit 1648b83
Show file tree
Hide file tree
Showing 238 changed files with 1,525 additions and 2,104 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "quantimodo/quantimodo-sdk-php",
"version": "5.9.90517",
"version": "5.10.32613",
"description": "",
"keywords": [
"swagger",
Expand Down
40 changes: 28 additions & 12 deletions docs/Api/AnalyticsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Method | HTTP request | Description


# **getCorrelationExplanations**
> \QuantiModo\Client\Model\Correlation[] getCorrelationExplanations($cause_variable_name, $effect_variable_name)
> \QuantiModo\Client\Model\Correlation[] getCorrelationExplanations($cause_variable_name, $effect_variable_name, $cause_variable_id, $effect_variable_id, $predictor_variable_name, $outcome_variable_name)
Get correlation explanations

Expand All @@ -33,11 +33,15 @@ $apiInstance = new QuantiModo\Client\Api\AnalyticsApi(
new GuzzleHttp\Client(),
$config
);
$cause_variable_name = "cause_variable_name_example"; // string | Name of the hypothetical predictor variable. Ex: Sleep Duration
$effect_variable_name = "effect_variable_name_example"; // string | Name of the hypothetical outcome variable. Ex: Overall Mood
$cause_variable_name = "cause_variable_name_example"; // string | Deprecated: Name of the hypothetical predictor variable. Ex: Sleep Duration
$effect_variable_name = "effect_variable_name_example"; // string | Deprecated: Name of the outcome variable of interest. Ex: Overall Mood
$cause_variable_id = 56; // int | Variable id of the hypothetical predictor variable. Ex: 1398
$effect_variable_id = 56; // int | Variable id of the outcome variable of interest. Ex: 1398
$predictor_variable_name = "predictor_variable_name_example"; // string | Name of the hypothetical predictor variable. Ex: Sleep Duration
$outcome_variable_name = "outcome_variable_name_example"; // string | Name of the outcome variable of interest. Ex: Overall Mood

try {
$result = $apiInstance->getCorrelationExplanations($cause_variable_name, $effect_variable_name);
$result = $apiInstance->getCorrelationExplanations($cause_variable_name, $effect_variable_name, $cause_variable_id, $effect_variable_id, $predictor_variable_name, $outcome_variable_name);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AnalyticsApi->getCorrelationExplanations: ', $e->getMessage(), PHP_EOL;
Expand All @@ -49,8 +53,12 @@ try {

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**cause_variable_name** | **string**| Name of the hypothetical predictor variable. Ex: Sleep Duration | [optional]
**effect_variable_name** | **string**| Name of the hypothetical outcome variable. Ex: Overall Mood | [optional]
**cause_variable_name** | **string**| Deprecated: Name of the hypothetical predictor variable. Ex: Sleep Duration | [optional]
**effect_variable_name** | **string**| Deprecated: Name of the outcome variable of interest. Ex: Overall Mood | [optional]
**cause_variable_id** | **int**| Variable id of the hypothetical predictor variable. Ex: 1398 | [optional]
**effect_variable_id** | **int**| Variable id of the outcome variable of interest. Ex: 1398 | [optional]
**predictor_variable_name** | **string**| Name of the hypothetical predictor variable. Ex: Sleep Duration | [optional]
**outcome_variable_name** | **string**| Name of the outcome variable of interest. Ex: Overall Mood | [optional]

### Return type

Expand All @@ -68,7 +76,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)

# **getCorrelations**
> \QuantiModo\Client\Model\GetCorrelationsResponse getCorrelations($cause_variable_name, $effect_variable_name, $sort, $limit, $offset, $user_id, $correlation_coefficient, $updated_at, $outcomes_of_interest, $client_id, $common_only, $platform)
> \QuantiModo\Client\Model\GetCorrelationsResponse getCorrelations($cause_variable_name, $effect_variable_name, $cause_variable_id, $effect_variable_id, $predictor_variable_name, $outcome_variable_name, $sort, $limit, $offset, $user_id, $correlation_coefficient, $updated_at, $outcomes_of_interest, $client_id, $common_only, $platform)
Get correlations

Expand All @@ -92,8 +100,12 @@ $apiInstance = new QuantiModo\Client\Api\AnalyticsApi(
new GuzzleHttp\Client(),
$config
);
$cause_variable_name = "cause_variable_name_example"; // string | Name of the hypothetical predictor variable. Ex: Sleep Duration
$effect_variable_name = "effect_variable_name_example"; // string | Name of the hypothetical outcome variable. Ex: Overall Mood
$cause_variable_name = "cause_variable_name_example"; // string | Deprecated: Name of the hypothetical predictor variable. Ex: Sleep Duration
$effect_variable_name = "effect_variable_name_example"; // string | Deprecated: Name of the outcome variable of interest. Ex: Overall Mood
$cause_variable_id = 56; // int | Variable id of the hypothetical predictor variable. Ex: 1398
$effect_variable_id = 56; // int | Variable id of the outcome variable of interest. Ex: 1398
$predictor_variable_name = "predictor_variable_name_example"; // string | Name of the hypothetical predictor variable. Ex: Sleep Duration
$outcome_variable_name = "outcome_variable_name_example"; // string | Name of the outcome variable of interest. Ex: Overall Mood
$sort = "sort_example"; // string | Sort by one of the listed field names. If the field name is prefixed with `-`, it will sort in descending order.
$limit = 100; // int | The LIMIT is used to limit the number of results returned. So if youhave 1000 results, but only want to the first 10, you would set this to 10 and offset to 0. The maximum limit is 200 records.
$offset = 56; // int | OFFSET says to skip that many rows before beginning to return rows to the client. OFFSET 0 is the same as omitting the OFFSET clause.If both OFFSET and LIMIT appear, then OFFSET rows are skipped before starting to count the LIMIT rows that are returned.
Expand All @@ -106,7 +118,7 @@ $common_only = true; // bool | Return only public, anonymized and aggregated pop
$platform = "platform_example"; // string | Ex: chrome, android, ios, web

try {
$result = $apiInstance->getCorrelations($cause_variable_name, $effect_variable_name, $sort, $limit, $offset, $user_id, $correlation_coefficient, $updated_at, $outcomes_of_interest, $client_id, $common_only, $platform);
$result = $apiInstance->getCorrelations($cause_variable_name, $effect_variable_name, $cause_variable_id, $effect_variable_id, $predictor_variable_name, $outcome_variable_name, $sort, $limit, $offset, $user_id, $correlation_coefficient, $updated_at, $outcomes_of_interest, $client_id, $common_only, $platform);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AnalyticsApi->getCorrelations: ', $e->getMessage(), PHP_EOL;
Expand All @@ -118,8 +130,12 @@ try {

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**cause_variable_name** | **string**| Name of the hypothetical predictor variable. Ex: Sleep Duration | [optional]
**effect_variable_name** | **string**| Name of the hypothetical outcome variable. Ex: Overall Mood | [optional]
**cause_variable_name** | **string**| Deprecated: Name of the hypothetical predictor variable. Ex: Sleep Duration | [optional]
**effect_variable_name** | **string**| Deprecated: Name of the outcome variable of interest. Ex: Overall Mood | [optional]
**cause_variable_id** | **int**| Variable id of the hypothetical predictor variable. Ex: 1398 | [optional]
**effect_variable_id** | **int**| Variable id of the outcome variable of interest. Ex: 1398 | [optional]
**predictor_variable_name** | **string**| Name of the hypothetical predictor variable. Ex: Sleep Duration | [optional]
**outcome_variable_name** | **string**| Name of the outcome variable of interest. Ex: Overall Mood | [optional]
**sort** | **string**| Sort by one of the listed field names. If the field name is prefixed with `-`, it will sort in descending order. | [optional]
**limit** | **int**| The LIMIT is used to limit the number of results returned. So if youhave 1000 results, but only want to the first 10, you would set this to 10 and offset to 0. The maximum limit is 200 records. | [optional] [default to 100]
**offset** | **int**| OFFSET says to skip that many rows before beginning to return rows to the client. OFFSET 0 is the same as omitting the OFFSET clause.If both OFFSET and LIMIT appear, then OFFSET rows are skipped before starting to count the LIMIT rows that are returned. | [optional]
Expand Down
4 changes: 2 additions & 2 deletions docs/Api/AppSettingsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ $apiInstance = new QuantiModo\Client\Api\AppSettingsApi(
new GuzzleHttp\Client()
);
$client_id = "client_id_example"; // string | Your QuantiModo client id can be obtained by creating an app at https://builder.quantimo.do
$client_secret = "client_secret_example"; // string | This is the secret for your obtained clientId. We use this to ensure that only your application uses the clientId. Obtain this by creating a free application at [https://app.quantimo.do/api/v2/apps](https://app.quantimo.do/api/v2/apps).
$client_secret = "client_secret_example"; // string | This is the secret for your obtained clientId. We use this to ensure that only your application uses the clientId. Obtain this by creating a free application at [https://builder.quantimo.do](https://builder.quantimo.do).
$platform = "platform_example"; // string | Ex: chrome, android, ios, web

try {
Expand All @@ -42,7 +42,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**client_id** | **string**| Your QuantiModo client id can be obtained by creating an app at https://builder.quantimo.do | [optional]
**client_secret** | **string**| This is the secret for your obtained clientId. We use this to ensure that only your application uses the clientId. Obtain this by creating a free application at [https://app.quantimo.do/api/v2/apps](https://app.quantimo.do/api/v2/apps). | [optional]
**client_secret** | **string**| This is the secret for your obtained clientId. We use this to ensure that only your application uses the clientId. Obtain this by creating a free application at [https://builder.quantimo.do](https://builder.quantimo.do). | [optional]
**platform** | **string**| Ex: chrome, android, ios, web | [optional]

### Return type
Expand Down
Loading

0 comments on commit 1648b83

Please sign in to comment.