pydo.domains.get()
Generated on 16 Jun 2025
from pydo
version
v0.11.0
Description
To get details about a specific domain, send a GET request to /v2/domains/$DOMAIN_NAME
.
Parameters
Name | Type | Required | Description | Default Value |
---|---|---|---|---|
domain_name |
string | True | The name of the domain itself. |
Request Sample
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
resp = client.domains.get(domain_name="example.com")
More Information
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.