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