Provides simple HTTPS based access to an OPC UA server.
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 1.05.4
- Package version: 1.504.0
- Generator version: 7.9.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
Python 3.7+
If the python package is hosted on a repository, you can install directly using:
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
(you may need to run pip
with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
)
Then import the package:
import opcua_webapi
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install
to install the package for all users)
Then import the package:
import opcua_webapi
Execute pytest
to run the tests.
Please follow the installation procedure and then run the following:
import opcua_webapi
from opcua_webapi.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:4840
# See configuration.py for a list of all supported configuration parameters.
configuration = opcua_webapi.Configuration(
host = "http://localhost:4840"
)
# Enter a context with an instance of the API client
with opcua_webapi.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = opcua_webapi.DefaultApi(api_client)
activate_session_request = opcua_webapi.ActivateSessionRequest() # ActivateSessionRequest | ActivateSessionRequestMessage (optional)
try:
api_response = api_instance.activate_session(activate_session_request=activate_session_request)
print("The response of DefaultApi->activate_session:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->activate_session: %s\n" % e)
All URIs are relative to http://localhost:4840
Class | Method | HTTP request | Description |
---|---|---|---|
DefaultApi | activate_session | POST /activatesession | |
DefaultApi | browse | POST /browse | |
DefaultApi | browse_next | POST /browsenext | |
DefaultApi | call | POST /call | |
DefaultApi | cancel | POST /cancel | |
DefaultApi | close_session | POST /closesession | |
DefaultApi | create_monitored_items | POST /createmonitoreditems | |
DefaultApi | create_session | POST /createsession | |
DefaultApi | create_subscription | POST /createsubscription | |
DefaultApi | delete_monitored_items | POST /deletemonitoreditems | |
DefaultApi | delete_subscriptions | POST /deletesubscriptions | |
DefaultApi | find_servers | POST /findservers | |
DefaultApi | get_endpoints | POST /getendpoints | |
DefaultApi | history_read | POST /historyread | |
DefaultApi | history_update | POST /historyupdate | |
DefaultApi | modify_monitored_items | POST /modifymonitoreditems | |
DefaultApi | modify_subscription | POST /modifysubscription | |
DefaultApi | publish | POST /publish | |
DefaultApi | read | POST /read | |
DefaultApi | register_nodes | POST /registernodes | |
DefaultApi | republish | POST /republish | |
DefaultApi | set_monitoring_mode | POST /setmonitoringmode | |
DefaultApi | set_publishing_mode | POST /setpublishingmode | |
DefaultApi | set_triggering | POST /settriggering | |
DefaultApi | transfer_subscriptions | POST /transfersubscriptions | |
DefaultApi | translate_browse_paths_to_node_ids | POST /translate | |
DefaultApi | unregister_nodes | POST /unregisternodes | |
DefaultApi | write | POST /write |
- ActivateSessionRequest
- ActivateSessionResponse
- AggregateConfiguration
- AggregateFilter
- AggregateFilterResult
- ApplicationDescription
- ApplicationType
- Argument
- AttributeOperand
- BrokerConnectionTransportDataType
- BrokerDataSetReaderTransportDataType
- BrokerDataSetWriterTransportDataType
- BrokerTransportQualityOfService
- BrokerWriterGroupTransportDataType
- BrowseDescription
- BrowseDirection
- BrowseNextRequest
- BrowseNextResponse
- BrowsePath
- BrowsePathResult
- BrowsePathTarget
- BrowseRequest
- BrowseResponse
- BrowseResult
- CallMethodRequest
- CallMethodResult
- CallRequest
- CallResponse
- CancelRequest
- CancelResponse
- CloseSessionRequest
- CloseSessionResponse
- ConfigurationVersionDataType
- ContentFilter
- ContentFilterElement
- ContentFilterElementResult
- ContentFilterResult
- CreateMonitoredItemsRequest
- CreateMonitoredItemsResponse
- CreateSessionRequest
- CreateSessionResponse
- CreateSubscriptionRequest
- CreateSubscriptionResponse
- DataChangeFilter
- DataChangeNotification
- DataChangeTrigger
- DataSetMetaDataType
- DataSetReaderDataType
- DataSetWriterDataType
- DataTypeDescription
- DataTypeSchemaHeader
- DataValue
- Decimal
- DeleteMonitoredItemsRequest
- DeleteMonitoredItemsResponse
- DeleteSubscriptionsRequest
- DeleteSubscriptionsResponse
- DiagnosticInfo
- EUInformation
- ElementOperand
- EndpointDescription
- EnumDefinition
- EnumDescription
- EnumField
- EnumValueType
- EventFieldList
- EventFilter
- EventFilterResult
- EventNotificationList
- ExtensionObject
- FieldMetaData
- FilterOperator
- FindServersRequest
- FindServersResponse
- GetEndpointsRequest
- GetEndpointsResponse
- HistoryData
- HistoryEvent
- HistoryEventFieldList
- HistoryModifiedData
- HistoryReadRequest
- HistoryReadResponse
- HistoryReadResult
- HistoryReadValueId
- HistoryUpdateRequest
- HistoryUpdateResponse
- HistoryUpdateResult
- HistoryUpdateType
- IssuedIdentityToken
- JsonDataSetReaderMessageDataType
- JsonDataSetWriterMessageDataType
- JsonWriterGroupMessageDataType
- KeyValuePair
- LiteralOperand
- LocalizedText
- MessageSecurityMode
- ModificationInfo
- ModifyMonitoredItemsRequest
- ModifyMonitoredItemsResponse
- ModifySubscriptionRequest
- ModifySubscriptionResponse
- MonitoredItemCreateRequest
- MonitoredItemCreateResult
- MonitoredItemModifyRequest
- MonitoredItemModifyResult
- MonitoredItemNotification
- MonitoringMode
- MonitoringParameters
- NetworkAddressDataType
- NodeClass
- NotificationMessage
- PerformUpdateType
- PubSubConfiguration2DataType
- PubSubConfigurationDataType
- PubSubConnectionDataType
- PubSubGroupDataType
- PubSubKeyPushTargetDataType
- PubSubState
- PublishRequest
- PublishResponse
- PublishedDataSetDataType
- Range
- ReadAnnotationDataDetails
- ReadAtTimeDetails
- ReadEventDetails
- ReadEventDetails2
- ReadProcessedDetails
- ReadRawModifiedDetails
- ReadRequest
- ReadResponse
- ReadValueId
- ReaderGroupDataType
- ReferenceDescription
- RegisterNodesRequest
- RegisterNodesResponse
- RelativePath
- RelativePathElement
- RepublishRequest
- RepublishResponse
- RequestHeader
- ResponseHeader
- RolePermissionType
- SecurityGroupDataType
- SetMonitoringModeRequest
- SetMonitoringModeResponse
- SetPublishingModeRequest
- SetPublishingModeResponse
- SetTriggeringRequest
- SetTriggeringResponse
- SignatureData
- SignedSoftwareCertificate
- SimpleAttributeOperand
- SimpleTypeDescription
- StandaloneSubscribedDataSetDataType
- StatusChangeNotification
- StatusCode
- StructureDefinition
- StructureDescription
- StructureField
- StructureType
- SubscriptionAcknowledgement
- TimestampsToReturn
- TransferResult
- TransferSubscriptionsRequest
- TransferSubscriptionsResponse
- TranslateBrowsePathsToNodeIdsRequest
- TranslateBrowsePathsToNodeIdsResponse
- UnregisterNodesRequest
- UnregisterNodesResponse
- UpdateDataDetails
- UpdateEventDetails
- UpdateStructureDataDetails
- UserIdentityToken
- UserNameIdentityToken
- UserTokenPolicy
- UserTokenType
- Variant
- ViewDescription
- WriteRequest
- WriteResponse
- WriteValue
- WriterGroupDataType
- X509IdentityToken
Endpoints do not require authorization.