appwrite/docs/examples/1.8.x/server-php/examples/account/get.md

347 B

setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setSession(''); // The user session to authenticate with $account = new Account($client); $result = $account->get();