File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ check out the [Contributing Guide](CONTRIBUTING.md).
2626
2727``` bash
2828# Choose the version you want to install
29- VERSION=0.1 .0
29+ VERSION=0.3 .0
3030pip install frequenz-reporting-python==$VERSION
3131```
3232
@@ -40,8 +40,8 @@ from frequenz.client.common.metric import Metric
4040from frequenz.client.reporting import ReportingApiClient
4141from frequenz.reporting._reporting import cumulative_energy
4242
43- # Change server address if needed
44- SERVICE_ADDRESS = " reporting.api.frequenz.com:443 "
43+ # Change server address
44+ SERVICE_ADDRESS = " grpc://replace-this-with-your-server-url:port "
4545API_KEY = open (' api_key.txt' ).read().strip()
4646client = ReportingApiClient(service_address = SERVICE_ADDRESS , key = API_KEY )
4747```
You can’t perform that action at this time.
0 commit comments