@@ -30,29 +30,29 @@ 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
3434pip install frequenz-client-reporting==$VERSION 
3535``` 
3636
3737
3838### Initialize the client  
3939
4040``` python 
41- from  datetime import  datetime
41+ from  datetime import  datetime, timedelta 
4242
4343from  frequenz.client.common.metric import  Metric
4444from  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" 
4848API_KEY  =  open (' api_key.txt' 
4949client =  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,
5353you 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