client.account() (AccountClient).
Methods
ensure
POST /2/account
Ensure Developer Account
Creates an X Developer Platform account for the authenticated user if they do not already have one, and returns it. Idempotent: when the user already has an account it is returned unchanged with created false.
Parameters
Returns:Schemas.EnsureAccountResponse
getDeveloper
GET /2/account
Get Developer Account
Returns the X Developer Platform account that is billed for the authenticated user’s API access. A user with no such account gets a resource-not-found error entry.
Schemas.GetDeveloperAccountResponse