Skip to content

Commit 98c400e

Browse files
committed
Update version in README
Signed-off-by: cwasicki <[email protected]>
1 parent fd6d3af commit 98c400e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Please also refer to [examples](https://github.com/frequenz-floss/frequenz-clien
3030

3131
```bash
3232
# Choose the version you want to install
33-
VERSION=0.11.0
33+
VERSION=0.12.0
3434
pip install frequenz-client-reporting==$VERSION
3535
```
3636

@@ -44,15 +44,15 @@ from frequenz.client.common.metric import Metric
4444
from frequenz.client.reporting import ReportingApiClient
4545

4646
# Change server address if needed
47-
SERVER_URL = "grpc://reporting.api.frequenz.com:443?ssl=true"
47+
SERVER_URL = "grpc://reporting.api.frequenz.com:443"
4848
API_KEY = open('api_key.txt').read().strip()
4949
client = ReportingApiClient(server_url=SERVER_URL, key=API_KEY)
5050
```
5151

52-
Besides the microgrid_id, component_ids, and metrics, start, and end time,
52+
Besides the `microgrid_id`, `component_id`s, `metrics`, start, and end time,
5353
you can also set the sampling period for resampling using the `resampling_period`
54-
parameter. For example, to resample data every 15 minutes, use a `resampling_period`
55-
of timedelta(minutes=15).
54+
parameter. For example, to resample data every 15 minutes, use
55+
`resampling_period=timedelta(minutes=15)`.
5656

5757
### Query metrics for a single microgrid and component:
5858

0 commit comments

Comments
 (0)