pydo.apps.get_metrics_bandwidth_daily()
Generated on 16 Jul 2025
from pydo
version
v0.13.0
Description
Retrieve daily bandwidth usage metrics for a single app.
Parameters
Name | Type | Required | Description | Default Value |
---|---|---|---|---|
app_id |
string | True | The app ID | |
date |
string | False | Optional day to query. Only the date component of the timestamp will be considered. Default: yesterday. |
Request Sample
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
get_resp = client.apps.get_metrics_bandwidth_daily(app_id="4f6c71e2")
More Information
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.