Go to documentation repository
...
gRPC requests are generated on the basis of proto files.
Before you start, do the following:
Install the dependencies via pip:
| Code Block |
|---|
pip>=21.1.2 grpcio-tools>=1.38.0 googleapis-common-protos pyOpenSSL==19.1.0 |
To create proto classes, do the following:
...
As a result, the script folder will contain the AxxonSoft folder with proto classes, which will be used to work via the gRPC channel.
To send requests through the gRPC channel, the authorization is required. To do this, use the Server certificate from the C:\ProgramData\AxxonSoft\Axxon One\Tickets folder.
...