diff --git a/documentation/reference/qfieldcloud/sdk.en.md b/documentation/reference/qfieldcloud/sdk.en.md index 3efedbacd..2e970d7aa 100644 --- a/documentation/reference/qfieldcloud/sdk.en.md +++ b/documentation/reference/qfieldcloud/sdk.en.md @@ -19,13 +19,13 @@ import requests from qfieldcloud_sdk import sdk client = sdk.Client( - url="https://app.qfield.cloud/api/v1/", - username="user1", - password="pass1", + url="https://app.qfield.cloud/api/v1/" ) +client.login(username='me', password='mysecret') try: projects = client.list_projects() + print(projects) except requests.exceptions.RequestException: print("Oops!") ```