def list_user(): users = Users(client) print_green("Running List User API") response = users.list() print(response)
result = teams.update('608278d80a78b', 'asdasdasdasd') result avatars = Avatars(client) result = avatars.get_credit_card('amex') users = Users(client) result = users.create('*****@*****.**', '7984654654654') result = users.list() result result = users.get_sessions('60828a747b89f') result result = users.get_logs('60828a747b89f') import requests headers = {'x-appwrite-project': '60826fd53aa70', # 'x-appwrite-key': '0c8ea3659859b3c3c23e5b35644d4c07240f5356182c50acd37571c3144a1f91a55e4b541a8860734662238050a457f22cf803d721eb457352026f215e50234fe246975811ac03de59863128bb23c7153cdee01b7c2ed348f0e3c208faf22fac69777a54bdb2e60f77824dfa07d8f41c6f87355abe392c3938629de780a15f71', 'content-type': 'application/json', 'x-sdk-version': 'appwrite:python:0.1.0',}