let sdk = new Appwrite();

sdk
    .setProject('')
;

let promise = sdk.locale.getCountriesEU();

promise.then(function (response) {
    console.log(response);
}, function (error) {
    console.log(error);
});