NodePing.Accounts.get_account

You're seeing just the function get_account, go back to NodePing.Accounts module for more information.
Link to this function

get_account(token, customerid \\ nil)

View Source

Get information about your NodePing account or subaccount

Parameters

  • token - NodePing API token that is provided with account
  • customerid - optional ID to access a subaccount

Examples

iex> token = System.fetch_env!("TOKEN")
iex> {:ok, result} = NodePing.Accounts.get_account(token)
iex> is_map(result)
true