To get a project, send a GET request to /v2/projects/$PROJECT_ID
.
Name | Type | Required | Description | Default Value |
---|---|---|---|---|
project_id |
string | True | A unique identifier for a project. |
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
resp = client.projects.get(project_id="4e1bfbc3")
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.