pydo.account.get()
Generated on 1 Jul 2025
from pydo
version
v0.12.0
Description
To show information about the current user account, send a GET request to /v2/account
.
Request Sample
import os
from pydo import Client
client = Client(token=os.getenv("$DIGITALOCEAN_TOKEN"))
account_info = client.account.get()
More Information
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.