diff --git a/README.md b/README.md index 99af0d3..efa806d 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ # Appwrite Python SDK ![License](https://img.shields.io/github/license/appwrite/sdk-for-python.svg?style=flat-square) -![Version](https://img.shields.io/badge/api%20version-1.5.6-blue.svg?style=flat-square) +![Version](https://img.shields.io/badge/api%20version-1.5.7-blue.svg?style=flat-square) [![Build Status](https://img.shields.io/travis/com/appwrite/sdk-generator?style=flat-square)](https://travis-ci.com/appwrite/sdk-generator) [![Twitter Account](https://img.shields.io/twitter/follow/appwrite?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite) [![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord) -**This SDK is compatible with Appwrite server version 1.5.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-python/releases).** +**This SDK is compatible with Appwrite server version 1.6.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-python/releases).** Appwrite is an open-source backend as a service server that abstract and simplify complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way. Use the Python SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs) diff --git a/appwrite/client.py b/appwrite/client.py index 256732e..723e00e 100644 --- a/appwrite/client.py +++ b/appwrite/client.py @@ -113,6 +113,11 @@ def call(self, method, path='', headers=None, params=None, response_type='json') response.raise_for_status() + warnings = response.headers.get('x-appwrite-warning') + if warnings: + for warning in warnings.split(';'): + print(f'Warning: {warning}') + content_type = response.headers['Content-Type'] if response_type == 'location': diff --git a/appwrite/enums/name.py b/appwrite/enums/name.py index b61606a..c5ad74e 100644 --- a/appwrite/enums/name.py +++ b/appwrite/enums/name.py @@ -8,7 +8,7 @@ class Name(Enum): V1_FUNCTIONS = "v1-functions" V1_USAGE = "v1-usage" V1_USAGE_DUMP = "v1-usage-dump" - WEBHOOKSV1 = "webhooksv1" + V1_WEBHOOKS = "v1-webhooks" V1_CERTIFICATES = "v1-certificates" V1_BUILDS = "v1-builds" V1_MESSAGING = "v1-messaging" diff --git a/appwrite/enums/runtime.py b/appwrite/enums/runtime.py index c4273e6..ebc970f 100644 --- a/appwrite/enums/runtime.py +++ b/appwrite/enums/runtime.py @@ -46,3 +46,4 @@ class Runtime(Enum): CPP_17 = "cpp-17" CPP_20 = "cpp-20" BUN_1_0 = "bun-1.0" + GO_1_22 = "go-1.22" diff --git a/appwrite/services/account.py b/appwrite/services/account.py index 5f30898..1d08938 100644 --- a/appwrite/services/account.py +++ b/appwrite/services/account.py @@ -95,7 +95,7 @@ def create_jwt(self): """Create JWT""" - api_path = '/account/jwt' + api_path = '/account/jwts' api_params = {} return self.client.call('post', api_path, { diff --git a/appwrite/services/functions.py b/appwrite/services/functions.py index f5e3d42..2bbaa98 100644 --- a/appwrite/services/functions.py +++ b/appwrite/services/functions.py @@ -20,7 +20,7 @@ def list(self, queries = None, search = None): 'content-type': 'application/json', }, api_params) - def create(self, function_id, name, runtime, execute = None, events = None, schedule = None, timeout = None, enabled = None, logging = None, entrypoint = None, commands = None, installation_id = None, provider_repository_id = None, provider_branch = None, provider_silent_mode = None, provider_root_directory = None, template_repository = None, template_owner = None, template_root_directory = None, template_branch = None): + def create(self, function_id, name, runtime, execute = None, events = None, schedule = None, timeout = None, enabled = None, logging = None, entrypoint = None, commands = None, scopes = None, installation_id = None, provider_repository_id = None, provider_branch = None, provider_silent_mode = None, provider_root_directory = None, template_repository = None, template_owner = None, template_root_directory = None, template_branch = None): """Create function""" @@ -47,6 +47,7 @@ def create(self, function_id, name, runtime, execute = None, events = None, sche api_params['logging'] = logging api_params['entrypoint'] = entrypoint api_params['commands'] = commands + api_params['scopes'] = scopes api_params['installationId'] = installation_id api_params['providerRepositoryId'] = provider_repository_id api_params['providerBranch'] = provider_branch @@ -88,7 +89,7 @@ def get(self, function_id): 'content-type': 'application/json', }, api_params) - def update(self, function_id, name, runtime = None, execute = None, events = None, schedule = None, timeout = None, enabled = None, logging = None, entrypoint = None, commands = None, installation_id = None, provider_repository_id = None, provider_branch = None, provider_silent_mode = None, provider_root_directory = None): + def update(self, function_id, name, runtime = None, execute = None, events = None, schedule = None, timeout = None, enabled = None, logging = None, entrypoint = None, commands = None, scopes = None, installation_id = None, provider_repository_id = None, provider_branch = None, provider_silent_mode = None, provider_root_directory = None): """Update function""" @@ -112,6 +113,7 @@ def update(self, function_id, name, runtime = None, execute = None, events = Non api_params['logging'] = logging api_params['entrypoint'] = entrypoint api_params['commands'] = commands + api_params['scopes'] = scopes api_params['installationId'] = installation_id api_params['providerRepositoryId'] = provider_repository_id api_params['providerBranch'] = provider_branch @@ -247,11 +249,11 @@ def delete_deployment(self, function_id, deployment_id): 'content-type': 'application/json', }, api_params) - def create_build(self, function_id, deployment_id, build_id): - """Create build""" + def create_build(self, function_id, deployment_id, build_id = None): + """Rebuild deployment""" - api_path = '/functions/{functionId}/deployments/{deploymentId}/builds/{buildId}' + api_path = '/functions/{functionId}/deployments/{deploymentId}/build' api_params = {} if function_id is None: raise AppwriteException('Missing required parameter: "function_id"') @@ -259,18 +261,35 @@ def create_build(self, function_id, deployment_id, build_id): if deployment_id is None: raise AppwriteException('Missing required parameter: "deployment_id"') - if build_id is None: - raise AppwriteException('Missing required parameter: "build_id"') - api_path = api_path.replace('{functionId}', function_id) api_path = api_path.replace('{deploymentId}', deployment_id) - api_path = api_path.replace('{buildId}', build_id) + api_params['buildId'] = build_id return self.client.call('post', api_path, { 'content-type': 'application/json', }, api_params) + def update_deployment_build(self, function_id, deployment_id): + """Cancel deployment""" + + + api_path = '/functions/{functionId}/deployments/{deploymentId}/build' + api_params = {} + if function_id is None: + raise AppwriteException('Missing required parameter: "function_id"') + + if deployment_id is None: + raise AppwriteException('Missing required parameter: "deployment_id"') + + api_path = api_path.replace('{functionId}', function_id) + api_path = api_path.replace('{deploymentId}', deployment_id) + + + return self.client.call('patch', api_path, { + 'content-type': 'application/json', + }, api_params) + def download_deployment(self, function_id, deployment_id): """Download Deployment""" @@ -309,7 +328,7 @@ def list_executions(self, function_id, queries = None, search = None): 'content-type': 'application/json', }, api_params) - def create_execution(self, function_id, body = None, xasync = None, path = None, method = None, headers = None): + def create_execution(self, function_id, body = None, xasync = None, path = None, method = None, headers = None, scheduled_at = None): """Create execution""" @@ -325,6 +344,7 @@ def create_execution(self, function_id, body = None, xasync = None, path = None, api_params['path'] = path api_params['method'] = method api_params['headers'] = headers + api_params['scheduledAt'] = scheduled_at return self.client.call('post', api_path, { 'content-type': 'application/json', @@ -350,6 +370,26 @@ def get_execution(self, function_id, execution_id): 'content-type': 'application/json', }, api_params) + def delete_execution(self, function_id, execution_id): + """Delete execution""" + + + api_path = '/functions/{functionId}/executions/{executionId}' + api_params = {} + if function_id is None: + raise AppwriteException('Missing required parameter: "function_id"') + + if execution_id is None: + raise AppwriteException('Missing required parameter: "execution_id"') + + api_path = api_path.replace('{functionId}', function_id) + api_path = api_path.replace('{executionId}', execution_id) + + + return self.client.call('delete', api_path, { + 'content-type': 'application/json', + }, api_params) + def list_variables(self, function_id): """List variables""" diff --git a/appwrite/services/users.py b/appwrite/services/users.py index 137d2ba..698fbf1 100644 --- a/appwrite/services/users.py +++ b/appwrite/services/users.py @@ -330,6 +330,24 @@ def update_email(self, user_id, email): 'content-type': 'application/json', }, api_params) + def create_jwt(self, user_id, session_id = None, duration = None): + """Create user JWT""" + + + api_path = '/users/{userId}/jwts' + api_params = {} + if user_id is None: + raise AppwriteException('Missing required parameter: "user_id"') + + api_path = api_path.replace('{userId}', user_id) + + api_params['sessionId'] = session_id + api_params['duration'] = duration + + return self.client.call('post', api_path, { + 'content-type': 'application/json', + }, api_params) + def update_labels(self, user_id, labels): """Update user labels""" diff --git a/docs/examples/account/create-anonymous-session.md b/docs/examples/account/create-anonymous-session.md index afaa76b..a8d0cd5 100644 --- a/docs/examples/account/create-anonymous-session.md +++ b/docs/examples/account/create-anonymous-session.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/account/create-email-password-session.md b/docs/examples/account/create-email-password-session.md index 667d85a..1e9233c 100644 --- a/docs/examples/account/create-email-password-session.md +++ b/docs/examples/account/create-email-password-session.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/account/create-email-token.md b/docs/examples/account/create-email-token.md index a283f42..6700b12 100644 --- a/docs/examples/account/create-email-token.md +++ b/docs/examples/account/create-email-token.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/account/create-j-w-t.md b/docs/examples/account/create-j-w-t.md index bc9b684..182c49d 100644 --- a/docs/examples/account/create-j-w-t.md +++ b/docs/examples/account/create-j-w-t.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/account/create-magic-u-r-l-token.md b/docs/examples/account/create-magic-u-r-l-token.md index 1f6593b..8380de3 100644 --- a/docs/examples/account/create-magic-u-r-l-token.md +++ b/docs/examples/account/create-magic-u-r-l-token.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/account/create-mfa-authenticator.md b/docs/examples/account/create-mfa-authenticator.md index 1c59624..14b16de 100644 --- a/docs/examples/account/create-mfa-authenticator.md +++ b/docs/examples/account/create-mfa-authenticator.md @@ -3,7 +3,7 @@ from appwrite.enums import AuthenticatorType client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/create-mfa-challenge.md b/docs/examples/account/create-mfa-challenge.md index 5448d96..1edb1ed 100644 --- a/docs/examples/account/create-mfa-challenge.md +++ b/docs/examples/account/create-mfa-challenge.md @@ -3,7 +3,7 @@ from appwrite.enums import AuthenticationFactor client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/account/create-mfa-recovery-codes.md b/docs/examples/account/create-mfa-recovery-codes.md index c675936..f6bf7ed 100644 --- a/docs/examples/account/create-mfa-recovery-codes.md +++ b/docs/examples/account/create-mfa-recovery-codes.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/create-o-auth2token.md b/docs/examples/account/create-o-auth2token.md index 96c0f88..84438a3 100644 --- a/docs/examples/account/create-o-auth2token.md +++ b/docs/examples/account/create-o-auth2token.md @@ -3,7 +3,7 @@ from appwrite.enums import OAuthProvider client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/account/create-phone-token.md b/docs/examples/account/create-phone-token.md index b7597df..8542457 100644 --- a/docs/examples/account/create-phone-token.md +++ b/docs/examples/account/create-phone-token.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/account/create-phone-verification.md b/docs/examples/account/create-phone-verification.md index ca46b01..dd28e34 100644 --- a/docs/examples/account/create-phone-verification.md +++ b/docs/examples/account/create-phone-verification.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/create-recovery.md b/docs/examples/account/create-recovery.md index c16be97..e2822a4 100644 --- a/docs/examples/account/create-recovery.md +++ b/docs/examples/account/create-recovery.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/create-session.md b/docs/examples/account/create-session.md index 118a1ab..d4e31c1 100644 --- a/docs/examples/account/create-session.md +++ b/docs/examples/account/create-session.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/account/create-verification.md b/docs/examples/account/create-verification.md index 6138686..a671d9d 100644 --- a/docs/examples/account/create-verification.md +++ b/docs/examples/account/create-verification.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/create.md b/docs/examples/account/create.md index d165697..226c5c7 100644 --- a/docs/examples/account/create.md +++ b/docs/examples/account/create.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/account/delete-identity.md b/docs/examples/account/delete-identity.md index 1462fbc..7029c35 100644 --- a/docs/examples/account/delete-identity.md +++ b/docs/examples/account/delete-identity.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/delete-mfa-authenticator.md b/docs/examples/account/delete-mfa-authenticator.md index 5deb210..86955a3 100644 --- a/docs/examples/account/delete-mfa-authenticator.md +++ b/docs/examples/account/delete-mfa-authenticator.md @@ -3,7 +3,7 @@ from appwrite.enums import AuthenticatorType client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/delete-session.md b/docs/examples/account/delete-session.md index 030d698..091eca8 100644 --- a/docs/examples/account/delete-session.md +++ b/docs/examples/account/delete-session.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/delete-sessions.md b/docs/examples/account/delete-sessions.md index 182c375..7c64d66 100644 --- a/docs/examples/account/delete-sessions.md +++ b/docs/examples/account/delete-sessions.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/get-mfa-recovery-codes.md b/docs/examples/account/get-mfa-recovery-codes.md index 123fe4b..39137c7 100644 --- a/docs/examples/account/get-mfa-recovery-codes.md +++ b/docs/examples/account/get-mfa-recovery-codes.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/get-prefs.md b/docs/examples/account/get-prefs.md index 102f4dc..67db03a 100644 --- a/docs/examples/account/get-prefs.md +++ b/docs/examples/account/get-prefs.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/get-session.md b/docs/examples/account/get-session.md index b9483ac..9262799 100644 --- a/docs/examples/account/get-session.md +++ b/docs/examples/account/get-session.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/get.md b/docs/examples/account/get.md index cc66fe6..1b4c8fe 100644 --- a/docs/examples/account/get.md +++ b/docs/examples/account/get.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/list-identities.md b/docs/examples/account/list-identities.md index 3e0d4e0..ed163b3 100644 --- a/docs/examples/account/list-identities.md +++ b/docs/examples/account/list-identities.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/list-logs.md b/docs/examples/account/list-logs.md index 0c0b28a..ca2fcfa 100644 --- a/docs/examples/account/list-logs.md +++ b/docs/examples/account/list-logs.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/list-mfa-factors.md b/docs/examples/account/list-mfa-factors.md index 007c237..1d09d97 100644 --- a/docs/examples/account/list-mfa-factors.md +++ b/docs/examples/account/list-mfa-factors.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/list-sessions.md b/docs/examples/account/list-sessions.md index 23398dc..936b11b 100644 --- a/docs/examples/account/list-sessions.md +++ b/docs/examples/account/list-sessions.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/update-email.md b/docs/examples/account/update-email.md index 353edb0..5cec58c 100644 --- a/docs/examples/account/update-email.md +++ b/docs/examples/account/update-email.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/update-m-f-a.md b/docs/examples/account/update-m-f-a.md index b59ede8..821a549 100644 --- a/docs/examples/account/update-m-f-a.md +++ b/docs/examples/account/update-m-f-a.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/update-magic-u-r-l-session.md b/docs/examples/account/update-magic-u-r-l-session.md index 631fac0..0cd8fc6 100644 --- a/docs/examples/account/update-magic-u-r-l-session.md +++ b/docs/examples/account/update-magic-u-r-l-session.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/account/update-mfa-authenticator.md b/docs/examples/account/update-mfa-authenticator.md index dc9a21f..e980538 100644 --- a/docs/examples/account/update-mfa-authenticator.md +++ b/docs/examples/account/update-mfa-authenticator.md @@ -3,7 +3,7 @@ from appwrite.enums import AuthenticatorType client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/update-mfa-challenge.md b/docs/examples/account/update-mfa-challenge.md index 7074e6d..3bce7f3 100644 --- a/docs/examples/account/update-mfa-challenge.md +++ b/docs/examples/account/update-mfa-challenge.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/update-mfa-recovery-codes.md b/docs/examples/account/update-mfa-recovery-codes.md index 281d892..fd98633 100644 --- a/docs/examples/account/update-mfa-recovery-codes.md +++ b/docs/examples/account/update-mfa-recovery-codes.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/update-name.md b/docs/examples/account/update-name.md index 8e16f49..2ff8454 100644 --- a/docs/examples/account/update-name.md +++ b/docs/examples/account/update-name.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/update-password.md b/docs/examples/account/update-password.md index 7d651c2..e6c9554 100644 --- a/docs/examples/account/update-password.md +++ b/docs/examples/account/update-password.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/update-phone-session.md b/docs/examples/account/update-phone-session.md index ff0c10d..d4a35d8 100644 --- a/docs/examples/account/update-phone-session.md +++ b/docs/examples/account/update-phone-session.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID account = Account(client) diff --git a/docs/examples/account/update-phone-verification.md b/docs/examples/account/update-phone-verification.md index adb5b35..0f9db88 100644 --- a/docs/examples/account/update-phone-verification.md +++ b/docs/examples/account/update-phone-verification.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/update-phone.md b/docs/examples/account/update-phone.md index c05bb16..540b09a 100644 --- a/docs/examples/account/update-phone.md +++ b/docs/examples/account/update-phone.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/update-prefs.md b/docs/examples/account/update-prefs.md index 2c58cca..04e4a8f 100644 --- a/docs/examples/account/update-prefs.md +++ b/docs/examples/account/update-prefs.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/update-recovery.md b/docs/examples/account/update-recovery.md index 4dca711..4ff91d4 100644 --- a/docs/examples/account/update-recovery.md +++ b/docs/examples/account/update-recovery.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/update-session.md b/docs/examples/account/update-session.md index 006c508..289cb65 100644 --- a/docs/examples/account/update-session.md +++ b/docs/examples/account/update-session.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/update-status.md b/docs/examples/account/update-status.md index 5c17fa1..8bf6914 100644 --- a/docs/examples/account/update-status.md +++ b/docs/examples/account/update-status.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/account/update-verification.md b/docs/examples/account/update-verification.md index 84c8c4b..ed2d77a 100644 --- a/docs/examples/account/update-verification.md +++ b/docs/examples/account/update-verification.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with account = Account(client) diff --git a/docs/examples/avatars/get-browser.md b/docs/examples/avatars/get-browser.md index 1de5eab..3301776 100644 --- a/docs/examples/avatars/get-browser.md +++ b/docs/examples/avatars/get-browser.md @@ -3,7 +3,7 @@ from appwrite.enums import Browser client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with avatars = Avatars(client) diff --git a/docs/examples/avatars/get-credit-card.md b/docs/examples/avatars/get-credit-card.md index 9437ff8..da81afc 100644 --- a/docs/examples/avatars/get-credit-card.md +++ b/docs/examples/avatars/get-credit-card.md @@ -3,7 +3,7 @@ from appwrite.enums import CreditCard client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with avatars = Avatars(client) diff --git a/docs/examples/avatars/get-favicon.md b/docs/examples/avatars/get-favicon.md index 2867696..edffdef 100644 --- a/docs/examples/avatars/get-favicon.md +++ b/docs/examples/avatars/get-favicon.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with avatars = Avatars(client) diff --git a/docs/examples/avatars/get-flag.md b/docs/examples/avatars/get-flag.md index 37ac482..a1c07e2 100644 --- a/docs/examples/avatars/get-flag.md +++ b/docs/examples/avatars/get-flag.md @@ -3,7 +3,7 @@ from appwrite.enums import Flag client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with avatars = Avatars(client) diff --git a/docs/examples/avatars/get-image.md b/docs/examples/avatars/get-image.md index 00afe0c..1a4a4c9 100644 --- a/docs/examples/avatars/get-image.md +++ b/docs/examples/avatars/get-image.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with avatars = Avatars(client) diff --git a/docs/examples/avatars/get-initials.md b/docs/examples/avatars/get-initials.md index 0a20c14..b443aa4 100644 --- a/docs/examples/avatars/get-initials.md +++ b/docs/examples/avatars/get-initials.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with avatars = Avatars(client) diff --git a/docs/examples/avatars/get-q-r.md b/docs/examples/avatars/get-q-r.md index bee29f7..3cb9dcc 100644 --- a/docs/examples/avatars/get-q-r.md +++ b/docs/examples/avatars/get-q-r.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with avatars = Avatars(client) diff --git a/docs/examples/databases/create-boolean-attribute.md b/docs/examples/databases/create-boolean-attribute.md index bf09562..2611488 100644 --- a/docs/examples/databases/create-boolean-attribute.md +++ b/docs/examples/databases/create-boolean-attribute.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/create-collection.md b/docs/examples/databases/create-collection.md index dfe3611..4950d88 100644 --- a/docs/examples/databases/create-collection.md +++ b/docs/examples/databases/create-collection.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/create-datetime-attribute.md b/docs/examples/databases/create-datetime-attribute.md index 0b8a555..020d7b6 100644 --- a/docs/examples/databases/create-datetime-attribute.md +++ b/docs/examples/databases/create-datetime-attribute.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/create-document.md b/docs/examples/databases/create-document.md index a457811..3b54bab 100644 --- a/docs/examples/databases/create-document.md +++ b/docs/examples/databases/create-document.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with databases = Databases(client) diff --git a/docs/examples/databases/create-email-attribute.md b/docs/examples/databases/create-email-attribute.md index 840e6b5..d6cd87d 100644 --- a/docs/examples/databases/create-email-attribute.md +++ b/docs/examples/databases/create-email-attribute.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/create-enum-attribute.md b/docs/examples/databases/create-enum-attribute.md index 0e891d5..ee2c96e 100644 --- a/docs/examples/databases/create-enum-attribute.md +++ b/docs/examples/databases/create-enum-attribute.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/create-float-attribute.md b/docs/examples/databases/create-float-attribute.md index 34fda4f..cce0e70 100644 --- a/docs/examples/databases/create-float-attribute.md +++ b/docs/examples/databases/create-float-attribute.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/create-index.md b/docs/examples/databases/create-index.md index 72fe622..9e6d16f 100644 --- a/docs/examples/databases/create-index.md +++ b/docs/examples/databases/create-index.md @@ -3,8 +3,8 @@ from appwrite.enums import IndexType client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/create-integer-attribute.md b/docs/examples/databases/create-integer-attribute.md index 057cfb7..984800f 100644 --- a/docs/examples/databases/create-integer-attribute.md +++ b/docs/examples/databases/create-integer-attribute.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/create-ip-attribute.md b/docs/examples/databases/create-ip-attribute.md index 54e887c..a27c7d7 100644 --- a/docs/examples/databases/create-ip-attribute.md +++ b/docs/examples/databases/create-ip-attribute.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/create-relationship-attribute.md b/docs/examples/databases/create-relationship-attribute.md index 0d1dbe0..c62d5cb 100644 --- a/docs/examples/databases/create-relationship-attribute.md +++ b/docs/examples/databases/create-relationship-attribute.md @@ -3,8 +3,8 @@ from appwrite.enums import RelationshipType client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/create-string-attribute.md b/docs/examples/databases/create-string-attribute.md index c15512a..06f86f6 100644 --- a/docs/examples/databases/create-string-attribute.md +++ b/docs/examples/databases/create-string-attribute.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/create-url-attribute.md b/docs/examples/databases/create-url-attribute.md index f77a630..3b882c5 100644 --- a/docs/examples/databases/create-url-attribute.md +++ b/docs/examples/databases/create-url-attribute.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/create.md b/docs/examples/databases/create.md index 329e653..33e8770 100644 --- a/docs/examples/databases/create.md +++ b/docs/examples/databases/create.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/delete-attribute.md b/docs/examples/databases/delete-attribute.md index 87fcf57..ce454ba 100644 --- a/docs/examples/databases/delete-attribute.md +++ b/docs/examples/databases/delete-attribute.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/delete-collection.md b/docs/examples/databases/delete-collection.md index 296c69d..c63bedf 100644 --- a/docs/examples/databases/delete-collection.md +++ b/docs/examples/databases/delete-collection.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/delete-document.md b/docs/examples/databases/delete-document.md index 3191f10..94afc57 100644 --- a/docs/examples/databases/delete-document.md +++ b/docs/examples/databases/delete-document.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with databases = Databases(client) diff --git a/docs/examples/databases/delete-index.md b/docs/examples/databases/delete-index.md index bd4fcf5..6890a55 100644 --- a/docs/examples/databases/delete-index.md +++ b/docs/examples/databases/delete-index.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/delete.md b/docs/examples/databases/delete.md index 302a652..f7506ff 100644 --- a/docs/examples/databases/delete.md +++ b/docs/examples/databases/delete.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/get-attribute.md b/docs/examples/databases/get-attribute.md index 8316fe7..3e1d786 100644 --- a/docs/examples/databases/get-attribute.md +++ b/docs/examples/databases/get-attribute.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/get-collection.md b/docs/examples/databases/get-collection.md index 7b0c7e4..2e2d408 100644 --- a/docs/examples/databases/get-collection.md +++ b/docs/examples/databases/get-collection.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/get-document.md b/docs/examples/databases/get-document.md index 978c5a5..9c3dfd4 100644 --- a/docs/examples/databases/get-document.md +++ b/docs/examples/databases/get-document.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with databases = Databases(client) diff --git a/docs/examples/databases/get-index.md b/docs/examples/databases/get-index.md index e53878c..4a9da1d 100644 --- a/docs/examples/databases/get-index.md +++ b/docs/examples/databases/get-index.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/get.md b/docs/examples/databases/get.md index b12f7d8..214e59b 100644 --- a/docs/examples/databases/get.md +++ b/docs/examples/databases/get.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/list-attributes.md b/docs/examples/databases/list-attributes.md index 4628394..dfb1463 100644 --- a/docs/examples/databases/list-attributes.md +++ b/docs/examples/databases/list-attributes.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/list-collections.md b/docs/examples/databases/list-collections.md index 0ceed95..b6ea0ae 100644 --- a/docs/examples/databases/list-collections.md +++ b/docs/examples/databases/list-collections.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/list-documents.md b/docs/examples/databases/list-documents.md index 08f3c89..d167d89 100644 --- a/docs/examples/databases/list-documents.md +++ b/docs/examples/databases/list-documents.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with databases = Databases(client) diff --git a/docs/examples/databases/list-indexes.md b/docs/examples/databases/list-indexes.md index 05a9e15..4699aae 100644 --- a/docs/examples/databases/list-indexes.md +++ b/docs/examples/databases/list-indexes.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/list.md b/docs/examples/databases/list.md index 8ba8b28..6e8f8ac 100644 --- a/docs/examples/databases/list.md +++ b/docs/examples/databases/list.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/update-boolean-attribute.md b/docs/examples/databases/update-boolean-attribute.md index 8cf9bc8..d28a93a 100644 --- a/docs/examples/databases/update-boolean-attribute.md +++ b/docs/examples/databases/update-boolean-attribute.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/update-collection.md b/docs/examples/databases/update-collection.md index 9f0615f..1710df8 100644 --- a/docs/examples/databases/update-collection.md +++ b/docs/examples/databases/update-collection.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/update-datetime-attribute.md b/docs/examples/databases/update-datetime-attribute.md index 5541dd4..0c3ae96 100644 --- a/docs/examples/databases/update-datetime-attribute.md +++ b/docs/examples/databases/update-datetime-attribute.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/update-document.md b/docs/examples/databases/update-document.md index 37c1b43..6675a6c 100644 --- a/docs/examples/databases/update-document.md +++ b/docs/examples/databases/update-document.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with databases = Databases(client) diff --git a/docs/examples/databases/update-email-attribute.md b/docs/examples/databases/update-email-attribute.md index cedde9d..fddd79e 100644 --- a/docs/examples/databases/update-email-attribute.md +++ b/docs/examples/databases/update-email-attribute.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/update-enum-attribute.md b/docs/examples/databases/update-enum-attribute.md index 76ede75..6b53a08 100644 --- a/docs/examples/databases/update-enum-attribute.md +++ b/docs/examples/databases/update-enum-attribute.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/update-float-attribute.md b/docs/examples/databases/update-float-attribute.md index 1556e03..325a3ca 100644 --- a/docs/examples/databases/update-float-attribute.md +++ b/docs/examples/databases/update-float-attribute.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/update-integer-attribute.md b/docs/examples/databases/update-integer-attribute.md index 37a87ed..e5105db 100644 --- a/docs/examples/databases/update-integer-attribute.md +++ b/docs/examples/databases/update-integer-attribute.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/update-ip-attribute.md b/docs/examples/databases/update-ip-attribute.md index d6df600..4473eb1 100644 --- a/docs/examples/databases/update-ip-attribute.md +++ b/docs/examples/databases/update-ip-attribute.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/update-relationship-attribute.md b/docs/examples/databases/update-relationship-attribute.md index 8c9fb45..5db57e7 100644 --- a/docs/examples/databases/update-relationship-attribute.md +++ b/docs/examples/databases/update-relationship-attribute.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/update-string-attribute.md b/docs/examples/databases/update-string-attribute.md index d765acf..c8a5de8 100644 --- a/docs/examples/databases/update-string-attribute.md +++ b/docs/examples/databases/update-string-attribute.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/update-url-attribute.md b/docs/examples/databases/update-url-attribute.md index 3a6347c..857d6be 100644 --- a/docs/examples/databases/update-url-attribute.md +++ b/docs/examples/databases/update-url-attribute.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/databases/update.md b/docs/examples/databases/update.md index ab6227f..ca8d5ea 100644 --- a/docs/examples/databases/update.md +++ b/docs/examples/databases/update.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key databases = Databases(client) diff --git a/docs/examples/functions/create-build.md b/docs/examples/functions/create-build.md index f3422f3..152d330 100644 --- a/docs/examples/functions/create-build.md +++ b/docs/examples/functions/create-build.md @@ -2,13 +2,13 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions(client) result = functions.create_build( function_id = '', deployment_id = '', - build_id = '' + build_id = '' # optional ) diff --git a/docs/examples/functions/create-deployment.md b/docs/examples/functions/create-deployment.md index 68ae7a9..665651a 100644 --- a/docs/examples/functions/create-deployment.md +++ b/docs/examples/functions/create-deployment.md @@ -3,8 +3,8 @@ from appwrite.input_file import InputFile client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions(client) diff --git a/docs/examples/functions/create-execution.md b/docs/examples/functions/create-execution.md index 46c64b2..a4ff68b 100644 --- a/docs/examples/functions/create-execution.md +++ b/docs/examples/functions/create-execution.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with functions = Functions(client) @@ -13,5 +13,6 @@ result = functions.create_execution( async = False, # optional path = '', # optional method = ExecutionMethod.GET, # optional - headers = {} # optional + headers = {}, # optional + scheduled_at = '' # optional ) diff --git a/docs/examples/functions/create-variable.md b/docs/examples/functions/create-variable.md index 6b4e955..621a04a 100644 --- a/docs/examples/functions/create-variable.md +++ b/docs/examples/functions/create-variable.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions(client) diff --git a/docs/examples/functions/create.md b/docs/examples/functions/create.md index 76320c2..6bc91c1 100644 --- a/docs/examples/functions/create.md +++ b/docs/examples/functions/create.md @@ -3,8 +3,8 @@ from appwrite.enums import client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions(client) @@ -20,6 +20,7 @@ result = functions.create( logging = False, # optional entrypoint = '', # optional commands = '', # optional + scopes = [], # optional installation_id = '', # optional provider_repository_id = '', # optional provider_branch = '', # optional diff --git a/docs/examples/functions/delete-deployment.md b/docs/examples/functions/delete-deployment.md index def007b..59fa729 100644 --- a/docs/examples/functions/delete-deployment.md +++ b/docs/examples/functions/delete-deployment.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions(client) diff --git a/docs/examples/functions/delete-execution.md b/docs/examples/functions/delete-execution.md new file mode 100644 index 0000000..61919ca --- /dev/null +++ b/docs/examples/functions/delete-execution.md @@ -0,0 +1,13 @@ +from appwrite.client import Client + +client = Client() +client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key + +functions = Functions(client) + +result = functions.delete_execution( + function_id = '', + execution_id = '' +) diff --git a/docs/examples/functions/delete-variable.md b/docs/examples/functions/delete-variable.md index 96f1304..15c82dc 100644 --- a/docs/examples/functions/delete-variable.md +++ b/docs/examples/functions/delete-variable.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions(client) diff --git a/docs/examples/functions/delete.md b/docs/examples/functions/delete.md index 7e20857..660d70b 100644 --- a/docs/examples/functions/delete.md +++ b/docs/examples/functions/delete.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions(client) diff --git a/docs/examples/functions/download-deployment.md b/docs/examples/functions/download-deployment.md index 91c1fac..2d0289b 100644 --- a/docs/examples/functions/download-deployment.md +++ b/docs/examples/functions/download-deployment.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions(client) diff --git a/docs/examples/functions/get-deployment.md b/docs/examples/functions/get-deployment.md index e2b8e3f..9475ae0 100644 --- a/docs/examples/functions/get-deployment.md +++ b/docs/examples/functions/get-deployment.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions(client) diff --git a/docs/examples/functions/get-execution.md b/docs/examples/functions/get-execution.md index 04be41b..ccca086 100644 --- a/docs/examples/functions/get-execution.md +++ b/docs/examples/functions/get-execution.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with functions = Functions(client) diff --git a/docs/examples/functions/get-variable.md b/docs/examples/functions/get-variable.md index 2115700..1164f28 100644 --- a/docs/examples/functions/get-variable.md +++ b/docs/examples/functions/get-variable.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions(client) diff --git a/docs/examples/functions/get.md b/docs/examples/functions/get.md index f630486..82d834c 100644 --- a/docs/examples/functions/get.md +++ b/docs/examples/functions/get.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions(client) diff --git a/docs/examples/functions/list-deployments.md b/docs/examples/functions/list-deployments.md index c681463..1d5dc72 100644 --- a/docs/examples/functions/list-deployments.md +++ b/docs/examples/functions/list-deployments.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions(client) diff --git a/docs/examples/functions/list-executions.md b/docs/examples/functions/list-executions.md index 50dc7cb..9862222 100644 --- a/docs/examples/functions/list-executions.md +++ b/docs/examples/functions/list-executions.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with functions = Functions(client) diff --git a/docs/examples/functions/list-runtimes.md b/docs/examples/functions/list-runtimes.md index ae64245..4efe60a 100644 --- a/docs/examples/functions/list-runtimes.md +++ b/docs/examples/functions/list-runtimes.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions(client) diff --git a/docs/examples/functions/list-variables.md b/docs/examples/functions/list-variables.md index cfd0b64..29d6bf0 100644 --- a/docs/examples/functions/list-variables.md +++ b/docs/examples/functions/list-variables.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions(client) diff --git a/docs/examples/functions/list.md b/docs/examples/functions/list.md index bc4fc21..0ef5eba 100644 --- a/docs/examples/functions/list.md +++ b/docs/examples/functions/list.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions(client) diff --git a/docs/examples/functions/update-deployment-build.md b/docs/examples/functions/update-deployment-build.md new file mode 100644 index 0000000..d5e9c54 --- /dev/null +++ b/docs/examples/functions/update-deployment-build.md @@ -0,0 +1,13 @@ +from appwrite.client import Client + +client = Client() +client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key + +functions = Functions(client) + +result = functions.update_deployment_build( + function_id = '', + deployment_id = '' +) diff --git a/docs/examples/functions/update-deployment.md b/docs/examples/functions/update-deployment.md index 59e183e..3bc5ac0 100644 --- a/docs/examples/functions/update-deployment.md +++ b/docs/examples/functions/update-deployment.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions(client) diff --git a/docs/examples/functions/update-variable.md b/docs/examples/functions/update-variable.md index 3fb73e0..2fdd4a0 100644 --- a/docs/examples/functions/update-variable.md +++ b/docs/examples/functions/update-variable.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions(client) diff --git a/docs/examples/functions/update.md b/docs/examples/functions/update.md index edc1b0c..7c64a87 100644 --- a/docs/examples/functions/update.md +++ b/docs/examples/functions/update.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key functions = Functions(client) @@ -19,6 +19,7 @@ result = functions.update( logging = False, # optional entrypoint = '', # optional commands = '', # optional + scopes = [], # optional installation_id = '', # optional provider_repository_id = '', # optional provider_branch = '', # optional diff --git a/docs/examples/graphql/mutation.md b/docs/examples/graphql/mutation.md index 3d9ad02..d9e0ba6 100644 --- a/docs/examples/graphql/mutation.md +++ b/docs/examples/graphql/mutation.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key graphql = Graphql(client) diff --git a/docs/examples/graphql/query.md b/docs/examples/graphql/query.md index deb07a8..55b526c 100644 --- a/docs/examples/graphql/query.md +++ b/docs/examples/graphql/query.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key graphql = Graphql(client) diff --git a/docs/examples/health/get-antivirus.md b/docs/examples/health/get-antivirus.md index 5ba2199..2cbf4dc 100644 --- a/docs/examples/health/get-antivirus.md +++ b/docs/examples/health/get-antivirus.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/health/get-cache.md b/docs/examples/health/get-cache.md index 02b85b3..12d7060 100644 --- a/docs/examples/health/get-cache.md +++ b/docs/examples/health/get-cache.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/health/get-certificate.md b/docs/examples/health/get-certificate.md index 83018cf..fdf5583 100644 --- a/docs/examples/health/get-certificate.md +++ b/docs/examples/health/get-certificate.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/health/get-d-b.md b/docs/examples/health/get-d-b.md index 5446df5..2f47125 100644 --- a/docs/examples/health/get-d-b.md +++ b/docs/examples/health/get-d-b.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/health/get-failed-jobs.md b/docs/examples/health/get-failed-jobs.md index ad9f88c..402fde9 100644 --- a/docs/examples/health/get-failed-jobs.md +++ b/docs/examples/health/get-failed-jobs.md @@ -3,8 +3,8 @@ from appwrite.enums import client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/health/get-pub-sub.md b/docs/examples/health/get-pub-sub.md index 84ffd97..27d1f22 100644 --- a/docs/examples/health/get-pub-sub.md +++ b/docs/examples/health/get-pub-sub.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/health/get-queue-builds.md b/docs/examples/health/get-queue-builds.md index b513c2c..a811b10 100644 --- a/docs/examples/health/get-queue-builds.md +++ b/docs/examples/health/get-queue-builds.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/health/get-queue-certificates.md b/docs/examples/health/get-queue-certificates.md index bbeece1..6e3e18b 100644 --- a/docs/examples/health/get-queue-certificates.md +++ b/docs/examples/health/get-queue-certificates.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/health/get-queue-databases.md b/docs/examples/health/get-queue-databases.md index 936266c..502294c 100644 --- a/docs/examples/health/get-queue-databases.md +++ b/docs/examples/health/get-queue-databases.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/health/get-queue-deletes.md b/docs/examples/health/get-queue-deletes.md index b39b445..bbae3eb 100644 --- a/docs/examples/health/get-queue-deletes.md +++ b/docs/examples/health/get-queue-deletes.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/health/get-queue-functions.md b/docs/examples/health/get-queue-functions.md index a989a6a..deffbb9 100644 --- a/docs/examples/health/get-queue-functions.md +++ b/docs/examples/health/get-queue-functions.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/health/get-queue-logs.md b/docs/examples/health/get-queue-logs.md index 47a56f7..081bdfc 100644 --- a/docs/examples/health/get-queue-logs.md +++ b/docs/examples/health/get-queue-logs.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/health/get-queue-mails.md b/docs/examples/health/get-queue-mails.md index 39fc879..f1dafb6 100644 --- a/docs/examples/health/get-queue-mails.md +++ b/docs/examples/health/get-queue-mails.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/health/get-queue-messaging.md b/docs/examples/health/get-queue-messaging.md index 3862c9e..6b5c2fe 100644 --- a/docs/examples/health/get-queue-messaging.md +++ b/docs/examples/health/get-queue-messaging.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/health/get-queue-migrations.md b/docs/examples/health/get-queue-migrations.md index 85a5e56..58ba3eb 100644 --- a/docs/examples/health/get-queue-migrations.md +++ b/docs/examples/health/get-queue-migrations.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/health/get-queue-usage-dump.md b/docs/examples/health/get-queue-usage-dump.md index 2b8e302..33f6607 100644 --- a/docs/examples/health/get-queue-usage-dump.md +++ b/docs/examples/health/get-queue-usage-dump.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/health/get-queue-usage.md b/docs/examples/health/get-queue-usage.md index 42d7281..e01272c 100644 --- a/docs/examples/health/get-queue-usage.md +++ b/docs/examples/health/get-queue-usage.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/health/get-queue-webhooks.md b/docs/examples/health/get-queue-webhooks.md index 435ba95..b194541 100644 --- a/docs/examples/health/get-queue-webhooks.md +++ b/docs/examples/health/get-queue-webhooks.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/health/get-queue.md b/docs/examples/health/get-queue.md index 81ea4ba..6bc0fd2 100644 --- a/docs/examples/health/get-queue.md +++ b/docs/examples/health/get-queue.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/health/get-storage-local.md b/docs/examples/health/get-storage-local.md index c262455..d5a8c36 100644 --- a/docs/examples/health/get-storage-local.md +++ b/docs/examples/health/get-storage-local.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/health/get-storage.md b/docs/examples/health/get-storage.md index ebe83ed..d1d225b 100644 --- a/docs/examples/health/get-storage.md +++ b/docs/examples/health/get-storage.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/health/get-time.md b/docs/examples/health/get-time.md index 02405db..2205c13 100644 --- a/docs/examples/health/get-time.md +++ b/docs/examples/health/get-time.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/health/get.md b/docs/examples/health/get.md index 22034e7..5a5b80c 100644 --- a/docs/examples/health/get.md +++ b/docs/examples/health/get.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key health = Health(client) diff --git a/docs/examples/locale/get.md b/docs/examples/locale/get.md index 8915eb1..b47f365 100644 --- a/docs/examples/locale/get.md +++ b/docs/examples/locale/get.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with locale = Locale(client) diff --git a/docs/examples/locale/list-codes.md b/docs/examples/locale/list-codes.md index 9d2c939..700455a 100644 --- a/docs/examples/locale/list-codes.md +++ b/docs/examples/locale/list-codes.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with locale = Locale(client) diff --git a/docs/examples/locale/list-continents.md b/docs/examples/locale/list-continents.md index fadd5f3..0db5650 100644 --- a/docs/examples/locale/list-continents.md +++ b/docs/examples/locale/list-continents.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with locale = Locale(client) diff --git a/docs/examples/locale/list-countries-e-u.md b/docs/examples/locale/list-countries-e-u.md index 2f3bd50..1b74f1b 100644 --- a/docs/examples/locale/list-countries-e-u.md +++ b/docs/examples/locale/list-countries-e-u.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with locale = Locale(client) diff --git a/docs/examples/locale/list-countries-phones.md b/docs/examples/locale/list-countries-phones.md index 134ddaa..d3432f1 100644 --- a/docs/examples/locale/list-countries-phones.md +++ b/docs/examples/locale/list-countries-phones.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with locale = Locale(client) diff --git a/docs/examples/locale/list-countries.md b/docs/examples/locale/list-countries.md index f344cc1..76db17e 100644 --- a/docs/examples/locale/list-countries.md +++ b/docs/examples/locale/list-countries.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with locale = Locale(client) diff --git a/docs/examples/locale/list-currencies.md b/docs/examples/locale/list-currencies.md index 19d831f..45993bb 100644 --- a/docs/examples/locale/list-currencies.md +++ b/docs/examples/locale/list-currencies.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with locale = Locale(client) diff --git a/docs/examples/locale/list-languages.md b/docs/examples/locale/list-languages.md index 6de06d3..9b255ae 100644 --- a/docs/examples/locale/list-languages.md +++ b/docs/examples/locale/list-languages.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with locale = Locale(client) diff --git a/docs/examples/messaging/create-apns-provider.md b/docs/examples/messaging/create-apns-provider.md index 287472f..c74886c 100644 --- a/docs/examples/messaging/create-apns-provider.md +++ b/docs/examples/messaging/create-apns-provider.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/create-email.md b/docs/examples/messaging/create-email.md index acca4d5..2c9f7a5 100644 --- a/docs/examples/messaging/create-email.md +++ b/docs/examples/messaging/create-email.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/create-fcm-provider.md b/docs/examples/messaging/create-fcm-provider.md index 43c882b..1f19316 100644 --- a/docs/examples/messaging/create-fcm-provider.md +++ b/docs/examples/messaging/create-fcm-provider.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/create-mailgun-provider.md b/docs/examples/messaging/create-mailgun-provider.md index 38eb415..5e90d42 100644 --- a/docs/examples/messaging/create-mailgun-provider.md +++ b/docs/examples/messaging/create-mailgun-provider.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/create-msg91provider.md b/docs/examples/messaging/create-msg91provider.md index d11812c..16e1075 100644 --- a/docs/examples/messaging/create-msg91provider.md +++ b/docs/examples/messaging/create-msg91provider.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/create-push.md b/docs/examples/messaging/create-push.md index 7da7ac7..825104a 100644 --- a/docs/examples/messaging/create-push.md +++ b/docs/examples/messaging/create-push.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/create-sendgrid-provider.md b/docs/examples/messaging/create-sendgrid-provider.md index e22dad8..9ec7d8d 100644 --- a/docs/examples/messaging/create-sendgrid-provider.md +++ b/docs/examples/messaging/create-sendgrid-provider.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/create-sms.md b/docs/examples/messaging/create-sms.md index 38c3665..50bd9c8 100644 --- a/docs/examples/messaging/create-sms.md +++ b/docs/examples/messaging/create-sms.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/create-smtp-provider.md b/docs/examples/messaging/create-smtp-provider.md index b3b299b..d18b883 100644 --- a/docs/examples/messaging/create-smtp-provider.md +++ b/docs/examples/messaging/create-smtp-provider.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/create-subscriber.md b/docs/examples/messaging/create-subscriber.md index d6ffd09..8c6eab3 100644 --- a/docs/examples/messaging/create-subscriber.md +++ b/docs/examples/messaging/create-subscriber.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_jwt('<YOUR_JWT>') # Your secret JSON Web Token messaging = Messaging(client) diff --git a/docs/examples/messaging/create-telesign-provider.md b/docs/examples/messaging/create-telesign-provider.md index b1fbab3..cf26b82 100644 --- a/docs/examples/messaging/create-telesign-provider.md +++ b/docs/examples/messaging/create-telesign-provider.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/create-textmagic-provider.md b/docs/examples/messaging/create-textmagic-provider.md index bd251d9..896fbf5 100644 --- a/docs/examples/messaging/create-textmagic-provider.md +++ b/docs/examples/messaging/create-textmagic-provider.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/create-topic.md b/docs/examples/messaging/create-topic.md index e8532b2..0d58b9d 100644 --- a/docs/examples/messaging/create-topic.md +++ b/docs/examples/messaging/create-topic.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/create-twilio-provider.md b/docs/examples/messaging/create-twilio-provider.md index 3535fd0..9be321f 100644 --- a/docs/examples/messaging/create-twilio-provider.md +++ b/docs/examples/messaging/create-twilio-provider.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/create-vonage-provider.md b/docs/examples/messaging/create-vonage-provider.md index 6078096..a39246d 100644 --- a/docs/examples/messaging/create-vonage-provider.md +++ b/docs/examples/messaging/create-vonage-provider.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/delete-provider.md b/docs/examples/messaging/delete-provider.md index 58e1684..cb06a2b 100644 --- a/docs/examples/messaging/delete-provider.md +++ b/docs/examples/messaging/delete-provider.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/delete-subscriber.md b/docs/examples/messaging/delete-subscriber.md index 4988d06..ca25bdb 100644 --- a/docs/examples/messaging/delete-subscriber.md +++ b/docs/examples/messaging/delete-subscriber.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_jwt('<YOUR_JWT>') # Your secret JSON Web Token messaging = Messaging(client) diff --git a/docs/examples/messaging/delete-topic.md b/docs/examples/messaging/delete-topic.md index 769df6e..e91403a 100644 --- a/docs/examples/messaging/delete-topic.md +++ b/docs/examples/messaging/delete-topic.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/delete.md b/docs/examples/messaging/delete.md index a25e80b..b6d7081 100644 --- a/docs/examples/messaging/delete.md +++ b/docs/examples/messaging/delete.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/get-message.md b/docs/examples/messaging/get-message.md index db6506e..90b2035 100644 --- a/docs/examples/messaging/get-message.md +++ b/docs/examples/messaging/get-message.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/get-provider.md b/docs/examples/messaging/get-provider.md index 3e71e95..b493760 100644 --- a/docs/examples/messaging/get-provider.md +++ b/docs/examples/messaging/get-provider.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/get-subscriber.md b/docs/examples/messaging/get-subscriber.md index e8bb030..68427cf 100644 --- a/docs/examples/messaging/get-subscriber.md +++ b/docs/examples/messaging/get-subscriber.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/get-topic.md b/docs/examples/messaging/get-topic.md index a5e9e7b..158c18f 100644 --- a/docs/examples/messaging/get-topic.md +++ b/docs/examples/messaging/get-topic.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/list-message-logs.md b/docs/examples/messaging/list-message-logs.md index 1cfbb2e..d920a93 100644 --- a/docs/examples/messaging/list-message-logs.md +++ b/docs/examples/messaging/list-message-logs.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/list-messages.md b/docs/examples/messaging/list-messages.md index 4292733..0cb376e 100644 --- a/docs/examples/messaging/list-messages.md +++ b/docs/examples/messaging/list-messages.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/list-provider-logs.md b/docs/examples/messaging/list-provider-logs.md index be2f735..8590f9b 100644 --- a/docs/examples/messaging/list-provider-logs.md +++ b/docs/examples/messaging/list-provider-logs.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/list-providers.md b/docs/examples/messaging/list-providers.md index 477c3b2..cc6aec1 100644 --- a/docs/examples/messaging/list-providers.md +++ b/docs/examples/messaging/list-providers.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/list-subscriber-logs.md b/docs/examples/messaging/list-subscriber-logs.md index 744b53f..e39c81f 100644 --- a/docs/examples/messaging/list-subscriber-logs.md +++ b/docs/examples/messaging/list-subscriber-logs.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/list-subscribers.md b/docs/examples/messaging/list-subscribers.md index ec8ef1d..1c49bc0 100644 --- a/docs/examples/messaging/list-subscribers.md +++ b/docs/examples/messaging/list-subscribers.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/list-targets.md b/docs/examples/messaging/list-targets.md index 7ccc6f9..5d38f70 100644 --- a/docs/examples/messaging/list-targets.md +++ b/docs/examples/messaging/list-targets.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/list-topic-logs.md b/docs/examples/messaging/list-topic-logs.md index 4813049..6b31245 100644 --- a/docs/examples/messaging/list-topic-logs.md +++ b/docs/examples/messaging/list-topic-logs.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/list-topics.md b/docs/examples/messaging/list-topics.md index 6bae445..6bdd594 100644 --- a/docs/examples/messaging/list-topics.md +++ b/docs/examples/messaging/list-topics.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/update-apns-provider.md b/docs/examples/messaging/update-apns-provider.md index 4e3f998..5fb6c06 100644 --- a/docs/examples/messaging/update-apns-provider.md +++ b/docs/examples/messaging/update-apns-provider.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/update-email.md b/docs/examples/messaging/update-email.md index a2d2589..2b7576a 100644 --- a/docs/examples/messaging/update-email.md +++ b/docs/examples/messaging/update-email.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/update-fcm-provider.md b/docs/examples/messaging/update-fcm-provider.md index d2179b6..4a4b3dc 100644 --- a/docs/examples/messaging/update-fcm-provider.md +++ b/docs/examples/messaging/update-fcm-provider.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/update-mailgun-provider.md b/docs/examples/messaging/update-mailgun-provider.md index d04c617..f64307e 100644 --- a/docs/examples/messaging/update-mailgun-provider.md +++ b/docs/examples/messaging/update-mailgun-provider.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/update-msg91provider.md b/docs/examples/messaging/update-msg91provider.md index d13a387..2d88e70 100644 --- a/docs/examples/messaging/update-msg91provider.md +++ b/docs/examples/messaging/update-msg91provider.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/update-push.md b/docs/examples/messaging/update-push.md index ff136b9..6069a92 100644 --- a/docs/examples/messaging/update-push.md +++ b/docs/examples/messaging/update-push.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/update-sendgrid-provider.md b/docs/examples/messaging/update-sendgrid-provider.md index 4d10aad..d54c5cc 100644 --- a/docs/examples/messaging/update-sendgrid-provider.md +++ b/docs/examples/messaging/update-sendgrid-provider.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/update-sms.md b/docs/examples/messaging/update-sms.md index 4b9319b..9f1902b 100644 --- a/docs/examples/messaging/update-sms.md +++ b/docs/examples/messaging/update-sms.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/update-smtp-provider.md b/docs/examples/messaging/update-smtp-provider.md index f3a9b96..0bbe18d 100644 --- a/docs/examples/messaging/update-smtp-provider.md +++ b/docs/examples/messaging/update-smtp-provider.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/update-telesign-provider.md b/docs/examples/messaging/update-telesign-provider.md index 9c3c5bb..b285490 100644 --- a/docs/examples/messaging/update-telesign-provider.md +++ b/docs/examples/messaging/update-telesign-provider.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/update-textmagic-provider.md b/docs/examples/messaging/update-textmagic-provider.md index 4da5e71..4384e4c 100644 --- a/docs/examples/messaging/update-textmagic-provider.md +++ b/docs/examples/messaging/update-textmagic-provider.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/update-topic.md b/docs/examples/messaging/update-topic.md index 73c2c88..3d084b1 100644 --- a/docs/examples/messaging/update-topic.md +++ b/docs/examples/messaging/update-topic.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/update-twilio-provider.md b/docs/examples/messaging/update-twilio-provider.md index 8461df0..e8bb4c0 100644 --- a/docs/examples/messaging/update-twilio-provider.md +++ b/docs/examples/messaging/update-twilio-provider.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/messaging/update-vonage-provider.md b/docs/examples/messaging/update-vonage-provider.md index 32708b0..1158515 100644 --- a/docs/examples/messaging/update-vonage-provider.md +++ b/docs/examples/messaging/update-vonage-provider.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key messaging = Messaging(client) diff --git a/docs/examples/storage/create-bucket.md b/docs/examples/storage/create-bucket.md index bbeebf1..2ca86a5 100644 --- a/docs/examples/storage/create-bucket.md +++ b/docs/examples/storage/create-bucket.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key storage = Storage(client) diff --git a/docs/examples/storage/create-file.md b/docs/examples/storage/create-file.md index b8cae35..391b642 100644 --- a/docs/examples/storage/create-file.md +++ b/docs/examples/storage/create-file.md @@ -3,7 +3,7 @@ from appwrite.input_file import InputFile client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with storage = Storage(client) diff --git a/docs/examples/storage/delete-bucket.md b/docs/examples/storage/delete-bucket.md index cd008a7..980e1ec 100644 --- a/docs/examples/storage/delete-bucket.md +++ b/docs/examples/storage/delete-bucket.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key storage = Storage(client) diff --git a/docs/examples/storage/delete-file.md b/docs/examples/storage/delete-file.md index 69fe398..8bce51d 100644 --- a/docs/examples/storage/delete-file.md +++ b/docs/examples/storage/delete-file.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with storage = Storage(client) diff --git a/docs/examples/storage/get-bucket.md b/docs/examples/storage/get-bucket.md index 8740eb5..a1712b3 100644 --- a/docs/examples/storage/get-bucket.md +++ b/docs/examples/storage/get-bucket.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key storage = Storage(client) diff --git a/docs/examples/storage/get-file-download.md b/docs/examples/storage/get-file-download.md index 30fff99..d865835 100644 --- a/docs/examples/storage/get-file-download.md +++ b/docs/examples/storage/get-file-download.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with storage = Storage(client) diff --git a/docs/examples/storage/get-file-preview.md b/docs/examples/storage/get-file-preview.md index 08dcb47..f69f922 100644 --- a/docs/examples/storage/get-file-preview.md +++ b/docs/examples/storage/get-file-preview.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with storage = Storage(client) diff --git a/docs/examples/storage/get-file-view.md b/docs/examples/storage/get-file-view.md index 6cf8565..043772a 100644 --- a/docs/examples/storage/get-file-view.md +++ b/docs/examples/storage/get-file-view.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with storage = Storage(client) diff --git a/docs/examples/storage/get-file.md b/docs/examples/storage/get-file.md index f54c7a5..af451af 100644 --- a/docs/examples/storage/get-file.md +++ b/docs/examples/storage/get-file.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with storage = Storage(client) diff --git a/docs/examples/storage/list-buckets.md b/docs/examples/storage/list-buckets.md index 909d6f7..e6202bd 100644 --- a/docs/examples/storage/list-buckets.md +++ b/docs/examples/storage/list-buckets.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key storage = Storage(client) diff --git a/docs/examples/storage/list-files.md b/docs/examples/storage/list-files.md index 73f4a28..d140858 100644 --- a/docs/examples/storage/list-files.md +++ b/docs/examples/storage/list-files.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with storage = Storage(client) diff --git a/docs/examples/storage/update-bucket.md b/docs/examples/storage/update-bucket.md index 4722284..bcb59ea 100644 --- a/docs/examples/storage/update-bucket.md +++ b/docs/examples/storage/update-bucket.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key storage = Storage(client) diff --git a/docs/examples/storage/update-file.md b/docs/examples/storage/update-file.md index 0a0b78c..22e32cb 100644 --- a/docs/examples/storage/update-file.md +++ b/docs/examples/storage/update-file.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with storage = Storage(client) diff --git a/docs/examples/teams/create-membership.md b/docs/examples/teams/create-membership.md index 5be1405..3664e35 100644 --- a/docs/examples/teams/create-membership.md +++ b/docs/examples/teams/create-membership.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with teams = Teams(client) diff --git a/docs/examples/teams/create.md b/docs/examples/teams/create.md index c305b46..94a0467 100644 --- a/docs/examples/teams/create.md +++ b/docs/examples/teams/create.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with teams = Teams(client) diff --git a/docs/examples/teams/delete-membership.md b/docs/examples/teams/delete-membership.md index b9f34aa..9dccc49 100644 --- a/docs/examples/teams/delete-membership.md +++ b/docs/examples/teams/delete-membership.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with teams = Teams(client) diff --git a/docs/examples/teams/delete.md b/docs/examples/teams/delete.md index 18623d1..f920488 100644 --- a/docs/examples/teams/delete.md +++ b/docs/examples/teams/delete.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with teams = Teams(client) diff --git a/docs/examples/teams/get-membership.md b/docs/examples/teams/get-membership.md index 06d270a..fa961e3 100644 --- a/docs/examples/teams/get-membership.md +++ b/docs/examples/teams/get-membership.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with teams = Teams(client) diff --git a/docs/examples/teams/get-prefs.md b/docs/examples/teams/get-prefs.md index 046d638..6b097f1 100644 --- a/docs/examples/teams/get-prefs.md +++ b/docs/examples/teams/get-prefs.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with teams = Teams(client) diff --git a/docs/examples/teams/get.md b/docs/examples/teams/get.md index ee5fdf6..20a807e 100644 --- a/docs/examples/teams/get.md +++ b/docs/examples/teams/get.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with teams = Teams(client) diff --git a/docs/examples/teams/list-memberships.md b/docs/examples/teams/list-memberships.md index 997a106..02bb575 100644 --- a/docs/examples/teams/list-memberships.md +++ b/docs/examples/teams/list-memberships.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with teams = Teams(client) diff --git a/docs/examples/teams/list.md b/docs/examples/teams/list.md index f066e01..7a3018f 100644 --- a/docs/examples/teams/list.md +++ b/docs/examples/teams/list.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with teams = Teams(client) diff --git a/docs/examples/teams/update-membership-status.md b/docs/examples/teams/update-membership-status.md index 5ab354e..6e06b8d 100644 --- a/docs/examples/teams/update-membership-status.md +++ b/docs/examples/teams/update-membership-status.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with teams = Teams(client) diff --git a/docs/examples/teams/update-membership.md b/docs/examples/teams/update-membership.md index a681533..ecdfe2b 100644 --- a/docs/examples/teams/update-membership.md +++ b/docs/examples/teams/update-membership.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with teams = Teams(client) diff --git a/docs/examples/teams/update-name.md b/docs/examples/teams/update-name.md index 2430570..b5f44aa 100644 --- a/docs/examples/teams/update-name.md +++ b/docs/examples/teams/update-name.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with teams = Teams(client) diff --git a/docs/examples/teams/update-prefs.md b/docs/examples/teams/update-prefs.md index 27de647..c31f64f 100644 --- a/docs/examples/teams/update-prefs.md +++ b/docs/examples/teams/update-prefs.md @@ -2,7 +2,7 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID +client.set_project('<YOUR_PROJECT_ID>') # Your project ID client.set_session('') # The user session to authenticate with teams = Teams(client) diff --git a/docs/examples/users/create-argon2user.md b/docs/examples/users/create-argon2user.md index 2317c81..ab35ec6 100644 --- a/docs/examples/users/create-argon2user.md +++ b/docs/examples/users/create-argon2user.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/create-bcrypt-user.md b/docs/examples/users/create-bcrypt-user.md index 7ea2345..eadd5e4 100644 --- a/docs/examples/users/create-bcrypt-user.md +++ b/docs/examples/users/create-bcrypt-user.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/create-j-w-t.md b/docs/examples/users/create-j-w-t.md new file mode 100644 index 0000000..56d27f4 --- /dev/null +++ b/docs/examples/users/create-j-w-t.md @@ -0,0 +1,14 @@ +from appwrite.client import Client + +client = Client() +client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key + +users = Users(client) + +result = users.create_jwt( + user_id = '', + session_id = '', # optional + duration = 0 # optional +) diff --git a/docs/examples/users/create-m-d5user.md b/docs/examples/users/create-m-d5user.md index 10b33e5..81c1b46 100644 --- a/docs/examples/users/create-m-d5user.md +++ b/docs/examples/users/create-m-d5user.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/create-mfa-recovery-codes.md b/docs/examples/users/create-mfa-recovery-codes.md index 35706cc..0d2f63e 100644 --- a/docs/examples/users/create-mfa-recovery-codes.md +++ b/docs/examples/users/create-mfa-recovery-codes.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/create-p-h-pass-user.md b/docs/examples/users/create-p-h-pass-user.md index 5f92330..e499792 100644 --- a/docs/examples/users/create-p-h-pass-user.md +++ b/docs/examples/users/create-p-h-pass-user.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/create-s-h-a-user.md b/docs/examples/users/create-s-h-a-user.md index c4c9a92..c7cacbc 100644 --- a/docs/examples/users/create-s-h-a-user.md +++ b/docs/examples/users/create-s-h-a-user.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/create-scrypt-modified-user.md b/docs/examples/users/create-scrypt-modified-user.md index 321642f..a3fd282 100644 --- a/docs/examples/users/create-scrypt-modified-user.md +++ b/docs/examples/users/create-scrypt-modified-user.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/create-scrypt-user.md b/docs/examples/users/create-scrypt-user.md index e7da3a5..483755a 100644 --- a/docs/examples/users/create-scrypt-user.md +++ b/docs/examples/users/create-scrypt-user.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/create-session.md b/docs/examples/users/create-session.md index 2440e50..d28faf9 100644 --- a/docs/examples/users/create-session.md +++ b/docs/examples/users/create-session.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/create-target.md b/docs/examples/users/create-target.md index 123a092..2f3ccb6 100644 --- a/docs/examples/users/create-target.md +++ b/docs/examples/users/create-target.md @@ -3,8 +3,8 @@ from appwrite.enums import MessagingProviderType client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/create-token.md b/docs/examples/users/create-token.md index 27e4f51..ee58dbb 100644 --- a/docs/examples/users/create-token.md +++ b/docs/examples/users/create-token.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/create.md b/docs/examples/users/create.md index 716c4ac..e310b81 100644 --- a/docs/examples/users/create.md +++ b/docs/examples/users/create.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/delete-identity.md b/docs/examples/users/delete-identity.md index 8e9918f..493f618 100644 --- a/docs/examples/users/delete-identity.md +++ b/docs/examples/users/delete-identity.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/delete-mfa-authenticator.md b/docs/examples/users/delete-mfa-authenticator.md index d418107..e7c3525 100644 --- a/docs/examples/users/delete-mfa-authenticator.md +++ b/docs/examples/users/delete-mfa-authenticator.md @@ -3,8 +3,8 @@ from appwrite.enums import AuthenticatorType client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/delete-session.md b/docs/examples/users/delete-session.md index b3bdcb2..658a498 100644 --- a/docs/examples/users/delete-session.md +++ b/docs/examples/users/delete-session.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/delete-sessions.md b/docs/examples/users/delete-sessions.md index 08640f5..6fdd149 100644 --- a/docs/examples/users/delete-sessions.md +++ b/docs/examples/users/delete-sessions.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/delete-target.md b/docs/examples/users/delete-target.md index 5309b17..67d94d3 100644 --- a/docs/examples/users/delete-target.md +++ b/docs/examples/users/delete-target.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/delete.md b/docs/examples/users/delete.md index bb73199..056647f 100644 --- a/docs/examples/users/delete.md +++ b/docs/examples/users/delete.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/get-mfa-recovery-codes.md b/docs/examples/users/get-mfa-recovery-codes.md index 529346a..21e9b27 100644 --- a/docs/examples/users/get-mfa-recovery-codes.md +++ b/docs/examples/users/get-mfa-recovery-codes.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/get-prefs.md b/docs/examples/users/get-prefs.md index 34614de..62c0488 100644 --- a/docs/examples/users/get-prefs.md +++ b/docs/examples/users/get-prefs.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/get-target.md b/docs/examples/users/get-target.md index d07591f..994fbfa 100644 --- a/docs/examples/users/get-target.md +++ b/docs/examples/users/get-target.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/get.md b/docs/examples/users/get.md index efa5941..3fbfdc7 100644 --- a/docs/examples/users/get.md +++ b/docs/examples/users/get.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/list-identities.md b/docs/examples/users/list-identities.md index e19a3dd..20de979 100644 --- a/docs/examples/users/list-identities.md +++ b/docs/examples/users/list-identities.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/list-logs.md b/docs/examples/users/list-logs.md index 54e6886..6c73764 100644 --- a/docs/examples/users/list-logs.md +++ b/docs/examples/users/list-logs.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/list-memberships.md b/docs/examples/users/list-memberships.md index d0de2fb..38f1b05 100644 --- a/docs/examples/users/list-memberships.md +++ b/docs/examples/users/list-memberships.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/list-mfa-factors.md b/docs/examples/users/list-mfa-factors.md index 8092b0f..425f498 100644 --- a/docs/examples/users/list-mfa-factors.md +++ b/docs/examples/users/list-mfa-factors.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/list-sessions.md b/docs/examples/users/list-sessions.md index f4a5946..7271449 100644 --- a/docs/examples/users/list-sessions.md +++ b/docs/examples/users/list-sessions.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/list-targets.md b/docs/examples/users/list-targets.md index 3b1e28b..e0c2889 100644 --- a/docs/examples/users/list-targets.md +++ b/docs/examples/users/list-targets.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/list.md b/docs/examples/users/list.md index 9dbe774..5401629 100644 --- a/docs/examples/users/list.md +++ b/docs/examples/users/list.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/update-email-verification.md b/docs/examples/users/update-email-verification.md index 7c541c9..af0387e 100644 --- a/docs/examples/users/update-email-verification.md +++ b/docs/examples/users/update-email-verification.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/update-email.md b/docs/examples/users/update-email.md index e1c95ee..fb9f0b5 100644 --- a/docs/examples/users/update-email.md +++ b/docs/examples/users/update-email.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/update-labels.md b/docs/examples/users/update-labels.md index 2a54e76..58e7145 100644 --- a/docs/examples/users/update-labels.md +++ b/docs/examples/users/update-labels.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/update-mfa-recovery-codes.md b/docs/examples/users/update-mfa-recovery-codes.md index 5ff7bfe..7aede58 100644 --- a/docs/examples/users/update-mfa-recovery-codes.md +++ b/docs/examples/users/update-mfa-recovery-codes.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/update-mfa.md b/docs/examples/users/update-mfa.md index 305566a..9ed34b5 100644 --- a/docs/examples/users/update-mfa.md +++ b/docs/examples/users/update-mfa.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/update-name.md b/docs/examples/users/update-name.md index 17ebfb6..d232424 100644 --- a/docs/examples/users/update-name.md +++ b/docs/examples/users/update-name.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/update-password.md b/docs/examples/users/update-password.md index 1ee3edb..1d3c301 100644 --- a/docs/examples/users/update-password.md +++ b/docs/examples/users/update-password.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/update-phone-verification.md b/docs/examples/users/update-phone-verification.md index 70ce29f..5f61f94 100644 --- a/docs/examples/users/update-phone-verification.md +++ b/docs/examples/users/update-phone-verification.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/update-phone.md b/docs/examples/users/update-phone.md index 10c5e61..246e0a7 100644 --- a/docs/examples/users/update-phone.md +++ b/docs/examples/users/update-phone.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/update-prefs.md b/docs/examples/users/update-prefs.md index df77346..0fafb6d 100644 --- a/docs/examples/users/update-prefs.md +++ b/docs/examples/users/update-prefs.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/update-status.md b/docs/examples/users/update-status.md index 6b8e8b8..d970440 100644 --- a/docs/examples/users/update-status.md +++ b/docs/examples/users/update-status.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client) diff --git a/docs/examples/users/update-target.md b/docs/examples/users/update-target.md index c7ec1a6..97370cb 100644 --- a/docs/examples/users/update-target.md +++ b/docs/examples/users/update-target.md @@ -2,8 +2,8 @@ from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('5df5acd0d48c2') # Your project ID -client.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key +client.set_project('<YOUR_PROJECT_ID>') # Your project ID +client.set_key('<YOUR_API_KEY>') # Your secret API key users = Users(client)