Skip to content

Commit

Permalink
"version": "5.8.1119"
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepsinn committed Nov 20, 2017
1 parent 83d7676 commit ac7c66c
Show file tree
Hide file tree
Showing 149 changed files with 555 additions and 20,954 deletions.
38 changes: 1 addition & 37 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ We make it easy to retrieve and analyze normalized user data from a wide array o
This PHP package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:

- API version: 5.8.100414
- Package version: 5.8.1103
- Package version: 5.8.1119
- Build package: io.swagger.codegen.languages.PhpClientCodegen

## Requirements
Expand Down Expand Up @@ -130,66 +130,39 @@ Class | Method | HTTP request | Description

## Documentation For Models

- [Animation](docs/Model/Animation.md)
- [Button](docs/Model/Button.md)
- [Chart](docs/Model/Chart.md)
- [ChartConfig](docs/Model/ChartConfig.md)
- [ChartStyle](docs/Model/ChartStyle.md)
- [Column](docs/Model/Column.md)
- [CommonResponse](docs/Model/CommonResponse.md)
- [CommonVariable](docs/Model/CommonVariable.md)
- [CommonVariableArray](docs/Model/CommonVariableArray.md)
- [Connector](docs/Model/Connector.md)
- [ConnectorArray](docs/Model/ConnectorArray.md)
- [ConnectorInstruction](docs/Model/ConnectorInstruction.md)
- [ConversionStep](docs/Model/ConversionStep.md)
- [Correlation](docs/Model/Correlation.md)
- [CorrelationArray](docs/Model/CorrelationArray.md)
- [Credit](docs/Model/Credit.md)
- [DataSource](docs/Model/DataSource.md)
- [Explanation](docs/Model/Explanation.md)
- [ExplanationStartTracking](docs/Model/ExplanationStartTracking.md)
- [GetConnectorsResponse](docs/Model/GetConnectorsResponse.md)
- [GetCorrelationsDataResponse](docs/Model/GetCorrelationsDataResponse.md)
- [GetCorrelationsResponse](docs/Model/GetCorrelationsResponse.md)
- [GetMeasurementsResponse](docs/Model/GetMeasurementsResponse.md)
- [GetMeasurementsResponseArray](docs/Model/GetMeasurementsResponseArray.md)
- [GetPairsResponse](docs/Model/GetPairsResponse.md)
- [GetPairsResponseArray](docs/Model/GetPairsResponseArray.md)
- [GetPublicVariablesResponse](docs/Model/GetPublicVariablesResponse.md)
- [GetPublicVariablesResponseArray](docs/Model/GetPublicVariablesResponseArray.md)
- [GetStudyDataResponse](docs/Model/GetStudyDataResponse.md)
- [GetStudyResponse](docs/Model/GetStudyResponse.md)
- [GetTrackingReminderNotificationsResponse](docs/Model/GetTrackingReminderNotificationsResponse.md)
- [GetTrackingRemindersResponse](docs/Model/GetTrackingRemindersResponse.md)
- [GetTrackingRemindersResponseArray](docs/Model/GetTrackingRemindersResponseArray.md)
- [Highchart](docs/Model/Highchart.md)
- [HighchartArray](docs/Model/HighchartArray.md)
- [Hover](docs/Model/Hover.md)
- [Image](docs/Model/Image.md)
- [JsonErrorResponse](docs/Model/JsonErrorResponse.md)
- [Lang](docs/Model/Lang.md)
- [Legend](docs/Model/Legend.md)
- [Loading](docs/Model/Loading.md)
- [LocalDailyReminderNotificationTime](docs/Model/LocalDailyReminderNotificationTime.md)
- [LocalDailyReminderNotificationTimeArray](docs/Model/LocalDailyReminderNotificationTimeArray.md)
- [LocalDailyReminderNotificationTimesForAllReminder](docs/Model/LocalDailyReminderNotificationTimesForAllReminder.md)
- [LocalDailyReminderNotificationTimesForAllReminderArray](docs/Model/LocalDailyReminderNotificationTimesForAllReminderArray.md)
- [Marker](docs/Model/Marker.md)
- [Measurement](docs/Model/Measurement.md)
- [MeasurementArray](docs/Model/MeasurementArray.md)
- [MeasurementDelete](docs/Model/MeasurementDelete.md)
- [MeasurementItem](docs/Model/MeasurementItem.md)
- [MeasurementSet](docs/Model/MeasurementSet.md)
- [MeasurementUpdate](docs/Model/MeasurementUpdate.md)
- [Option](docs/Model/Option.md)
- [Pair](docs/Model/Pair.md)
- [PairArray](docs/Model/PairArray.md)
- [Pairs](docs/Model/Pairs.md)
- [PairsOfAveragesForAllUser](docs/Model/PairsOfAveragesForAllUser.md)
- [PairsOfAveragesForAllUserArray](docs/Model/PairsOfAveragesForAllUserArray.md)
- [ParticipantInstruction](docs/Model/ParticipantInstruction.md)
- [PlotOption](docs/Model/PlotOption.md)
- [PostCorrelation](docs/Model/PostCorrelation.md)
- [PostMeasurementsDataResponse](docs/Model/PostMeasurementsDataResponse.md)
- [PostMeasurementsResponse](docs/Model/PostMeasurementsResponse.md)
Expand All @@ -199,13 +172,9 @@ Class | Method | HTTP request | Description
- [PostUserSettingsDataResponse](docs/Model/PostUserSettingsDataResponse.md)
- [PostUserSettingsResponse](docs/Model/PostUserSettingsResponse.md)
- [ProcessedDailyMeasurement](docs/Model/ProcessedDailyMeasurement.md)
- [Scatter](docs/Model/Scatter.md)
- [Scope](docs/Model/Scope.md)
- [ScopeArray](docs/Model/ScopeArray.md)
- [Series](docs/Model/Series.md)
- [State](docs/Model/State.md)
- [Study](docs/Model/Study.md)
- [Subtitle](docs/Model/Subtitle.md)
- [Text](docs/Model/Text.md)
- [Title](docs/Model/Title.md)
- [Tooltip](docs/Model/Tooltip.md)
Expand All @@ -214,13 +183,10 @@ Class | Method | HTTP request | Description
- [TrackingReminderDelete](docs/Model/TrackingReminderDelete.md)
- [TrackingReminderNotification](docs/Model/TrackingReminderNotification.md)
- [TrackingReminderNotificationActionArray](docs/Model/TrackingReminderNotificationActionArray.md)
- [TrackingReminderNotificationArray](docs/Model/TrackingReminderNotificationArray.md)
- [TrackingReminderNotificationPost](docs/Model/TrackingReminderNotificationPost.md)
- [TrackingReminderNotificationTrackAllAction](docs/Model/TrackingReminderNotificationTrackAllAction.md)
- [TrackingReminderNotificationsArray](docs/Model/TrackingReminderNotificationsArray.md)
- [TrackingRemindersArray](docs/Model/TrackingRemindersArray.md)
- [Unit](docs/Model/Unit.md)
- [UnitArray](docs/Model/UnitArray.md)
- [UnitCategory](docs/Model/UnitCategory.md)
- [User](docs/Model/User.md)
- [UserStudy](docs/Model/UserStudy.md)
Expand All @@ -229,11 +195,9 @@ Class | Method | HTTP request | Description
- [UserVariableArray](docs/Model/UserVariableArray.md)
- [UserVariableDelete](docs/Model/UserVariableDelete.md)
- [VariableCategory](docs/Model/VariableCategory.md)
- [VariableCategoryArray](docs/Model/VariableCategoryArray.md)
- [Vote](docs/Model/Vote.md)
- [VoteDelete](docs/Model/VoteDelete.md)
- [XAxi](docs/Model/XAxi.md)
- [YAxi](docs/Model/YAxi.md)


## Documentation For Authorization
Expand Down
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.8.1103",
"version": "5.8.1119",
"description": "",
"keywords": [
"swagger",
Expand Down
6 changes: 4 additions & 2 deletions docs/Api/MeasurementsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,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)

# **getMeasurements**
> \QuantiModo\Client\Model\MeasurementArray getMeasurements($variable_name, $sort, $limit, $offset, $variable_category_name, $updated_at, $user_id, $source_name, $value, $unit_name, $earliest_measurement_time, $latest_measurement_time, $created_at, $id, $grouping_width, $grouping_timezone, $do_not_process, $app_name, $client_id, $do_not_convert, $min_max_filter)
> \QuantiModo\Client\Model\MeasurementArray getMeasurements($variable_name, $sort, $limit, $offset, $variable_category_name, $updated_at, $user_id, $source_name, $connector_name, $value, $unit_name, $earliest_measurement_time, $latest_measurement_time, $created_at, $id, $grouping_width, $grouping_timezone, $do_not_process, $app_name, $client_id, $do_not_convert, $min_max_filter)
Get measurements for this user

Expand All @@ -92,6 +92,7 @@ $variable_category_name = "variable_category_name_example"; // string | Limit re
$updated_at = "updated_at_example"; // string | When the record was last updated. Use UTC ISO 8601 `YYYY-MM-DDThh:mm:ss` datetime format. Time zone should be UTC and not local.
$user_id = 3.4; // float | User's id
$source_name = "source_name_example"; // string | ID of the source you want measurements for (supports exact name match only)
$connector_name = "connector_name_example"; // string | Example: facebook
$value = "value_example"; // string | Value of measurement
$unit_name = "unit_name_example"; // string | Example: 86400
$earliest_measurement_time = "earliest_measurement_time_example"; // string | Excluded records with measurement times earlier than this value. Use UTC ISO 8601 `YYYY-MM-DDThh:mm:ss` datetime format. Time zone should be UTC and not local.
Expand All @@ -107,7 +108,7 @@ $do_not_convert = true; // bool | Example: 1
$min_max_filter = true; // bool | Example: 1

try {
$result = $api_instance->getMeasurements($variable_name, $sort, $limit, $offset, $variable_category_name, $updated_at, $user_id, $source_name, $value, $unit_name, $earliest_measurement_time, $latest_measurement_time, $created_at, $id, $grouping_width, $grouping_timezone, $do_not_process, $app_name, $client_id, $do_not_convert, $min_max_filter);
$result = $api_instance->getMeasurements($variable_name, $sort, $limit, $offset, $variable_category_name, $updated_at, $user_id, $source_name, $connector_name, $value, $unit_name, $earliest_measurement_time, $latest_measurement_time, $created_at, $id, $grouping_width, $grouping_timezone, $do_not_process, $app_name, $client_id, $do_not_convert, $min_max_filter);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling MeasurementsApi->getMeasurements: ', $e->getMessage(), PHP_EOL;
Expand All @@ -127,6 +128,7 @@ Name | Type | Description | Notes
**updated_at** | **string**| When the record was last updated. Use UTC ISO 8601 `YYYY-MM-DDThh:mm:ss` datetime format. Time zone should be UTC and not local. | [optional]
**user_id** | **float**| User's id | [optional]
**source_name** | **string**| ID of the source you want measurements for (supports exact name match only) | [optional]
**connector_name** | **string**| Example: facebook | [optional]
**value** | **string**| Value of measurement | [optional]
**unit_name** | **string**| Example: 86400 | [optional]
**earliest_measurement_time** | **string**| Excluded records with measurement times earlier than this value. Use UTC ISO 8601 `YYYY-MM-DDThh:mm:ss` datetime format. Time zone should be UTC and not local. | [optional]
Expand Down
16 changes: 10 additions & 6 deletions docs/Api/VariablesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ void (empty response body)
[[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)

# **getCommonVariables**
> \QuantiModo\Client\Model\CommonVariableArray getCommonVariables($offset, $user_id, $variable_category_name, $name, $updated_at, $source_name, $earliest_measurement_time, $latest_measurement_time, $number_of_raw_measurements, $last_source_name, $limit, $id, $sort, $effect_or_cause, $public_effect_or_cause, $exact_match, $manual_tracking, $variable_category_id, $include_private, $client_id, $search_phrase, $synonyms)
> \QuantiModo\Client\Model\CommonVariableArray getCommonVariables($offset, $user_id, $variable_category_name, $name, $updated_at, $source_name, $earliest_measurement_time, $latest_measurement_time, $number_of_raw_measurements, $last_source_name, $limit, $id, $sort, $effect_or_cause, $public_effect_or_cause, $exact_match, $manual_tracking, $variable_category_id, $include_private, $client_id, $search_phrase, $synonyms, $upc)
Get common variables with aggregated instead of user-specific data

Expand Down Expand Up @@ -161,9 +161,10 @@ $include_private = true; // bool | Example:
$client_id = "client_id_example"; // string | Example: oauth_test_client
$search_phrase = "search_phrase_example"; // string | Example: %Body Fat%
$synonyms = "synonyms_example"; // string | Example: %McDonalds hotcake%
$upc = "upc_example"; // string | UPC or other barcode scan result

try {
$result = $api_instance->getCommonVariables($offset, $user_id, $variable_category_name, $name, $updated_at, $source_name, $earliest_measurement_time, $latest_measurement_time, $number_of_raw_measurements, $last_source_name, $limit, $id, $sort, $effect_or_cause, $public_effect_or_cause, $exact_match, $manual_tracking, $variable_category_id, $include_private, $client_id, $search_phrase, $synonyms);
$result = $api_instance->getCommonVariables($offset, $user_id, $variable_category_name, $name, $updated_at, $source_name, $earliest_measurement_time, $latest_measurement_time, $number_of_raw_measurements, $last_source_name, $limit, $id, $sort, $effect_or_cause, $public_effect_or_cause, $exact_match, $manual_tracking, $variable_category_id, $include_private, $client_id, $search_phrase, $synonyms, $upc);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling VariablesApi->getCommonVariables: ', $e->getMessage(), PHP_EOL;
Expand Down Expand Up @@ -197,6 +198,7 @@ Name | Type | Description | Notes
**client_id** | **string**| Example: oauth_test_client | [optional]
**search_phrase** | **string**| Example: %Body Fat% | [optional]
**synonyms** | **string**| Example: %McDonalds hotcake% | [optional]
**upc** | **string**| UPC or other barcode scan result | [optional]

### Return type

Expand All @@ -214,7 +216,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)

# **getUserVariables**
> \QuantiModo\Client\Model\UserVariable[] getUserVariables($include_charts, $number_of_raw_measurements, $user_id, $variable_category_name, $name, $updated_at, $source_name, $earliest_measurement_time, $latest_measurement_time, $id, $last_source_name, $limit, $offset, $sort, $include_public, $manual_tracking, $app_name, $client_id)
> \QuantiModo\Client\Model\UserVariable[] getUserVariables($include_charts, $number_of_raw_measurements, $user_id, $variable_category_name, $name, $updated_at, $source_name, $earliest_measurement_time, $latest_measurement_time, $id, $last_source_name, $limit, $offset, $sort, $include_public, $manual_tracking, $app_name, $client_id, $upc)
Get variables along with related user-specific analysis settings and statistics

Expand All @@ -233,7 +235,7 @@ QuantiModo\Client\Configuration::getDefaultConfiguration()->setApiKey('access_to
QuantiModo\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

$api_instance = new QuantiModo\Client\Api\VariablesApi();
$include_charts = true; // bool | Return highcharts configs that can be used if you have highcharts.js included on the page. This only works if the id or name query parameter is also provided.
$include_charts = true; // bool | Return Highcharts configs that can be used if you have highcharts.js included on the page. This only works if the id or name query parameter is also provided.
$number_of_raw_measurements = "number_of_raw_measurements_example"; // string | Filter variables by the total number of measurements that they have. This could be used of you want to filter or sort by popularity.
$user_id = 3.4; // float | User's id
$variable_category_name = "variable_category_name_example"; // string | Limit results to a specific variable category
Expand All @@ -251,9 +253,10 @@ $include_public = true; // bool | Example: true
$manual_tracking = true; // bool | Example:
$app_name = "app_name_example"; // string | Example: MoodiModo
$client_id = "client_id_example"; // string | Example: oauth_test_client
$upc = "upc_example"; // string | UPC or other barcode scan result

try {
$result = $api_instance->getUserVariables($include_charts, $number_of_raw_measurements, $user_id, $variable_category_name, $name, $updated_at, $source_name, $earliest_measurement_time, $latest_measurement_time, $id, $last_source_name, $limit, $offset, $sort, $include_public, $manual_tracking, $app_name, $client_id);
$result = $api_instance->getUserVariables($include_charts, $number_of_raw_measurements, $user_id, $variable_category_name, $name, $updated_at, $source_name, $earliest_measurement_time, $latest_measurement_time, $id, $last_source_name, $limit, $offset, $sort, $include_public, $manual_tracking, $app_name, $client_id, $upc);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling VariablesApi->getUserVariables: ', $e->getMessage(), PHP_EOL;
Expand All @@ -265,7 +268,7 @@ try {

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**include_charts** | **bool**| Return highcharts configs that can be used if you have highcharts.js included on the page. This only works if the id or name query parameter is also provided. | [optional]
**include_charts** | **bool**| Return Highcharts configs that can be used if you have highcharts.js included on the page. This only works if the id or name query parameter is also provided. | [optional]
**number_of_raw_measurements** | **string**| Filter variables by the total number of measurements that they have. This could be used of you want to filter or sort by popularity. | [optional]
**user_id** | **float**| User's id | [optional]
**variable_category_name** | **string**| Limit results to a specific variable category | [optional]
Expand All @@ -283,6 +286,7 @@ Name | Type | Description | Notes
**manual_tracking** | **bool**| Example: | [optional]
**app_name** | **string**| Example: MoodiModo | [optional]
**client_id** | **string**| Example: oauth_test_client | [optional]
**upc** | **string**| UPC or other barcode scan result | [optional]

### Return type

Expand Down
10 changes: 0 additions & 10 deletions docs/Model/Animation.md

This file was deleted.

15 changes: 6 additions & 9 deletions docs/Model/Chart.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,12 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**animation** | [**\QuantiModo\Client\Model\Animation**](Animation.md) | |
**chart_config** | [**\QuantiModo\Client\Model\ChartConfig**](ChartConfig.md) | |
**chart_id** | **string** | Example: correlationScatterPlot |
**chart_title** | **string** | Example: Reference And Learning Hours following Barometric Pressure (R = 0.147) |
**explanation** | **string** | Example: The chart above indicates that an increase in Barometric Pressure is usually followed by an increase in Reference And Learning Hours. |
**height** | **int** | Example: 300 |
**render_to** | **string** | Example: BarContainer |
**type** | **string** | Example: scatter |
**zoom_type** | **string** | Example: xy |
**highchart_config** | **string** | Highcharts config that can be used if you have highcharts.js included on the page | [optional]
**chart_id** | **string** | Example: correlationScatterPlot | [optional]
**chart_title** | **string** | Example: Overall Mood following Sleep Duration (R = -0.173) | [optional]
**explanation** | **string** | Example: The chart above indicates that an increase in Sleep Duration is usually followed by an decrease in Overall Mood. | [optional]
**svg_url** | **string** | Url to a static svg of the chart | [optional]
**svg** | **string** | Url to a static svg of the chart | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
16 changes: 0 additions & 16 deletions docs/Model/ChartConfig.md

This file was deleted.

Loading

0 comments on commit ac7c66c

Please sign in to comment.