Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ check out the [Contributing Guide](CONTRIBUTING.md).

```bash
# Choose the version you want to install
VERSION=0.1.0
VERSION=0.3.0
pip install frequenz-reporting-python==$VERSION
```

Expand All @@ -40,8 +40,8 @@ from frequenz.client.common.metric import Metric
from frequenz.client.reporting import ReportingApiClient
from frequenz.reporting._reporting import cumulative_energy

# Change server address if needed
SERVICE_ADDRESS = "reporting.api.frequenz.com:443"
# Change server address
SERVICE_ADDRESS = "grpc://replace-this-with-your-server-url:port"
Copy link

Copilot AI May 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Consider adding a comment to clarify that users must replace the placeholder with their actual gRPC server endpoint and port.

Copilot uses AI. Check for mistakes.
API_KEY = open('api_key.txt').read().strip()
client = ReportingApiClient(service_address=SERVICE_ADDRESS, key=API_KEY)
```
Expand Down
Loading