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
}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
}Hide child attributes
Was this page helpful?