13 lines
206 B
Markdown
13 lines
206 B
Markdown
from appwrite.client import Client
|
|
from appwrite.services.users import Users
|
|
|
|
client = Client()
|
|
|
|
(client
|
|
.set_project('')
|
|
.set_key('')
|
|
)
|
|
|
|
users = Users(client)
|
|
|
|
result = users.get_sessions('[USER_ID]')
|