317 B
317 B
const sdk = require('node-appwrite');
// Init SDK let client = new Locale.Client();
let locale = new sdk.Locale(client);
client setProject('') setKey('') ;
let promise = locale.getCountries();
promise.then(function (response) { console.log(response); }, function (error) { console.log(error); });