Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AccountService

Hierarchy

  • AccountService

Index

Constructors

Methods

Constructors

constructor

Methods

getUserInformation

  • getUserInformation(): Promise<Account>
  • Get the account information associated with the provided credentials

    Example

    import { DigitalOcean } from 'digitalocean-deno';
    
    const client = new DigitalOcean('your-api-key');
    const account = await client.account.getUserInformation();

    Returns Promise<Account>

Generated using TypeDoc