1
0
Fork 0
mirror of synced 2024-08-23 06:02:13 +12:00
appwrite/app/sdks/console-web/docs/examples/avatars/get-credit-card.md

11 lines
312 B
Markdown
Raw Normal View History

2020-01-28 10:50:41 +13:00
let sdk = new Appwrite();
sdk
2020-05-28 16:41:25 +12:00
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
2020-02-16 07:22:34 +13:00
.setProject('5df5acd0d48c2') // Your project ID
2020-02-24 07:09:34 +13:00
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
2020-01-28 10:50:41 +13:00
;
2020-05-18 17:55:27 +12:00
let result = sdk.avatars.getCreditCard('amex');
2020-01-28 10:50:41 +13:00
2020-06-19 00:29:35 +12:00
console.log(result); // Resource URL