Skip to content

Commit

Permalink
Merge pull request #478 from opengisch/mbernasocchi-patch-1
Browse files Browse the repository at this point in the history
Update sdk as module example
  • Loading branch information
m-kuhn authored Jul 5, 2024
2 parents 76f7a3f + 92b14c2 commit f54bff8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions documentation/reference/qfieldcloud/sdk.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!")
```
Expand Down

0 comments on commit f54bff8

Please sign in to comment.