Get authenticated account account details.
import Evecloud from '@evecloud/sdk'; const client = new Evecloud({ token: 'My Token', }); async function main() { const account = await client.accounts.retrieve(); console.log(account.data); } main();
{ "data": { "id": "8c53a06e-9e0d-4258-8f89-84df16b1bead", "username": "johndoe", "firstName": "John", "lastName": "Doe", "verified": true, "picture": null, "updatedAt": "2021-08-01T00:00:00.000Z", "createdAt": "2021-08-01T00:00:00.000Z" }, "success": true }
Default authentication mechanism
Show child attributes
Unique identifier.
"8c53a06e-9e0d-4258-8f89-84df16b1bead"
Unique username.
"johndoe"
First name.
"John"
Last name.
"Doe"
Account verification status.
true
Profile picture URL.
null
Last update date.
"2021-08-01T00:00:00.000Z"
Creation date.
Whether the API call was successful
Was this page helpful?