laravel-printing

PrintNode

Whoami Service

The WhoamiService can be used to fetch the account information of your PrintNode account. It can also be used to verify your api key is working for api requests to PrintNode.

All methods are callable from the PrintNodeClient class.

$whoami = $client->whoami->check();

See the API Overview for more information on interacting with the PrintNode API.


Rawilk\Printing\Api\PrintNode\Resources\Whoami

Retrieve the account information based on the current api key.

param type default
$opts null|array|RequestOptions null

Rawilk\Printing\Api\PrintNode\Resources\Whoami

The Whoami object represents the account information related to a given API key.


int

The account's ID.


string

The account holder's first name.


string

The account holder's last name.


string

The account holder's email address.


bool

Indicates if this account can create sub-accounts, e.g., you have an integrator account.


?string

The email address of the account that created this sub-account.


?string

The creation reference set when the sub-account was created.


array

Any child accounts present on this account.


?int

The number of print credits remaining on this account.


int

The number of computers active on this account.


int

Total number of prints made on this account.


array

A collection of versions set on this account.


array

A collection of computer IDs signed in on this account.


array

A collection of tags set on this account.


array

A collection of all the api keys set on this account.


string

The status of the account.


array

The permissions set on this account.



bool

Indicates true if the account is considered active.


Previous
PrintJob Service