mirror of
https://github.com/appwrite/appwrite
synced 2026-05-18 14:38:35 +00:00
414 B
414 B
import Appwrite
func main() async throws { let client = Client() .setEndpoint("https://[HOSTNAME_OR_IP]/v1") // Your API Endpoint .setProject("5df5acd0d48c2") // Your project ID let account = Account(client) let account = try await account.create( userId: "[USER_ID]", email: "email@example.com", password: "password" )
print(String(describing: account)
}