sdk-for-python/docs/examples/apps/get.md at main · appwrite/sdk-for-python · GitHub
Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 442 Bytes

get.md

File metadata and controls

18 lines (14 loc) · 442 Bytes
from appwrite.client import Client
from appwrite.services.apps import Apps
from appwrite.models import App

client = Client()
client.set_endpoint('https://<REGION>.cloud.appwrite.io/v1') # Your API Endpoint
client.set_project('<YOUR_PROJECT_ID>') # Your project ID
client.set_session('') # The user session to authenticate with

apps = Apps(client)

result: App = apps.get(
    app_id = '<APP_ID>'
)

print(result.model_dump())