You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,11 @@ All classes and methods are described on the [DOCUMENTATION](DOCUMENTATION.md).
50
50
51
51
- Is is highly recommended to turn debug mode on in case you are using PI Web API 2017 R2+ in order to receive more detailed exception errors. This can be achieved by creating or editing the DebugMode attribute's value to TRUE from the System Configuration element.
52
52
- The X-Requested-With header is added to work with CSRF defences.
53
+
54
+
55
+
## Contributing
56
+
57
+
We welcome new contributors of all experience levels. Please follow our [this page](https://github.com/osimloeff/PI-Web-API-Client-Python/blob/master/CONTRIBUTING.MD) to learn how to do it.
[**get_recorded_values**](DataApi.md#get_recorded_values) | Returns a pandas dataframe with compressed values for the requested time range from the source provider.
6
6
[**get_interpolated_values**](DataApi.md#get_interpolated_values) | Retrieves a pandas dataframe with interpolated values over the specified time range at the specified sampling interval.
7
7
[**get_plot_values**](DataApi.md#get_plot_values*) | Retrieves a pandas dataframe with values over the specified time range suitable for plotting over the number of intervals (typically represents pixels).
8
+
[**get_summary_values**](DataApi.md#get_summary_values*) | Returns a data frame with the summary over the specified time range for the stream.
8
9
[**get_multiple_recorded_values**](DataApi.md#get_multiple_recorded_values) | Returns an array of pandas dataframe with recorded values of the specified streams.
9
10
[**get_multiple_interpolated_values**](DataApi.md#get_multiple_interpolated_values) | Returns a dataframe with interpolated values of the specified streams over the specified time range at the specified sampling interval.
10
11
[**get_multiple_plot_values**](DataApi.md#get_multiple_plot_values) | Returns a pandas dataframe with values of the specified streams over the specified time range suitable for plotting over the number of intervals (typically represents pixels).
@@ -93,6 +94,35 @@ Pandas Dataframe
93
94
[[Back to top]](#)[[Back to API list]](../../DOCUMENTATION.md#documentation-for-api-endpoints)[[Back to Model list]](../../DOCUMENTATION.md#documentation-for-models)[[Back to DOCUMENTATION]](../../DOCUMENTATION.md)
**path** | **list[str]**| The paths of multiple streams (for a PI Point use "pi:\\servername\pointname" or "af:\\afservername\database\element|attribute" for an attribute). | [required]
107
+
**calculation_basis** | **str**| Specifies the method of evaluating the data over the time range. The default is 'TimeWeighted'.. | [optional]
108
+
**end_time** | **str**| An optional end time. The default is '*' for element attributes and points. For event frame attributes, the default is the event frame's end time, or '*' if that is not set. Note that if endTime is earlier than startTime, the resulting values will be in time-descending order.. | [optional]
109
+
**filter_expression** | **str**| A string containing a filter expression. Expression variables are relative to the attribute. Use '.' to reference the containing attribute.. | [optional]
110
+
**sample_interval** | **str**| When the sampleType is Interval, sampleInterval specifies how often the filter expression is evaluated when computing the summary for an interval.. | [optional]
111
+
**sample_type** | **str**| Defines the evaluation of an expression over a time range. The default is 'ExpressionRecordedValues'.. | [optional]
112
+
**selected_fields** | **str**| List of fields to be returned in the response, separated by semicolons (;). If this parameter is not specified, all available fields will be returned.. | [optional]
113
+
**start_time** | **str**| An optional start time. The default is '*-1d' for element attributes and points. For event frame attributes, the default is the event frame's start time, or '*-1d' if that is not set.. | [optional]
114
+
**summary_duration** | **str**| The duration of each summary interval. If specified in hours, minutes, seconds, or milliseconds, the summary durations will be evenly spaced UTC time intervals. Longer interval types are interpreted using wall clock rules and are time zone dependent.. | [optional]
115
+
**summary_type** | **list[str]**| Specifies the kinds of summaries to produce over the range. The default is 'Total'. Multiple summary types may be specified by using multiple instances of summaryType.. | [optional]
116
+
**time_type** | **str**| Specifies how to calculate the timestamp for each interval. The default is 'Auto'.. | [optional]
117
+
**time_zone** | **str**| The time zone in which the time string will be interpreted. This parameter will be ignored if a time zone is specified in the time string. If no time zone is specified in either places, the PI Web API server time zone will be used.. | [optional]
[[Back to top]](#)[[Back to API list]](../../DOCUMENTATION.md#documentation-for-api-endpoints)[[Back to Model list]](../../DOCUMENTATION.md#documentation-for-models)[[Back to DOCUMENTATION]](../../DOCUMENTATION.md)
0 commit comments