To get your default project, send a GET request to /v2/projects/default
.
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
resp = client.projects.get_default()
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.