1
0
Fork 0
mirror of synced 2024-08-07 14:27:52 +12:00
appwrite/app/sdks/client-web/docs/examples/avatars/get-initials.md

11 lines
233 B
Markdown
Raw Normal View History

2020-06-14 03:18:55 +12:00
let sdk = new Appwrite();
sdk
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
.setProject('5df5acd0d48c2') // Your project ID
;
let result = sdk.avatars.getInitials();
console.log(result); // Resource URL