pydo.droplets.get()
Generated on 12 Nov 2025
from pydo version
v0.19.0
Description
To show information about an individual Droplet, send a GET request to
/v2/droplets/$DROPLET_ID.
Parameters
| Name | Type | Required | Description | Default Value |
|---|---|---|---|---|
droplet_id |
integer | True | A unique identifier for a Droplet instance. |
Request Sample
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
resp = client.droplets.get(droplet_id=594828)More Information
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.