-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
212 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
from appwrite.client import Client | ||
from appwrite.services.account import Account | ||
|
||
client = Client() | ||
|
||
(client | ||
.set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint | ||
.set_project('5df5acd0d48c2') # Your project ID | ||
.set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token | ||
) | ||
|
||
account = Account(client) | ||
|
||
result = account.list_logs() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
from appwrite.client import Client | ||
from appwrite.services.account import Account | ||
|
||
client = Client() | ||
|
||
(client | ||
.set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint | ||
.set_project('5df5acd0d48c2') # Your project ID | ||
.set_jwt('eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ...') # Your secret JSON Web Token | ||
) | ||
|
||
account = Account(client) | ||
|
||
result = account.list_sessions() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
from appwrite.client import Client | ||
from appwrite.services.locale import Locale | ||
|
||
client = Client() | ||
|
||
(client | ||
.set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint | ||
.set_project('5df5acd0d48c2') # Your project ID | ||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key | ||
) | ||
|
||
locale = Locale(client) | ||
|
||
result = locale.list_continents() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
from appwrite.client import Client | ||
from appwrite.services.locale import Locale | ||
|
||
client = Client() | ||
|
||
(client | ||
.set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint | ||
.set_project('5df5acd0d48c2') # Your project ID | ||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key | ||
) | ||
|
||
locale = Locale(client) | ||
|
||
result = locale.list_countries_eu() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
from appwrite.client import Client | ||
from appwrite.services.locale import Locale | ||
|
||
client = Client() | ||
|
||
(client | ||
.set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint | ||
.set_project('5df5acd0d48c2') # Your project ID | ||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key | ||
) | ||
|
||
locale = Locale(client) | ||
|
||
result = locale.list_countries_phones() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
from appwrite.client import Client | ||
from appwrite.services.locale import Locale | ||
|
||
client = Client() | ||
|
||
(client | ||
.set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint | ||
.set_project('5df5acd0d48c2') # Your project ID | ||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key | ||
) | ||
|
||
locale = Locale(client) | ||
|
||
result = locale.list_countries() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
from appwrite.client import Client | ||
from appwrite.services.locale import Locale | ||
|
||
client = Client() | ||
|
||
(client | ||
.set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint | ||
.set_project('5df5acd0d48c2') # Your project ID | ||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key | ||
) | ||
|
||
locale = Locale(client) | ||
|
||
result = locale.list_currencies() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
from appwrite.client import Client | ||
from appwrite.services.locale import Locale | ||
|
||
client = Client() | ||
|
||
(client | ||
.set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint | ||
.set_project('5df5acd0d48c2') # Your project ID | ||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key | ||
) | ||
|
||
locale = Locale(client) | ||
|
||
result = locale.list_languages() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
from appwrite.client import Client | ||
from appwrite.services.teams import Teams | ||
|
||
client = Client() | ||
|
||
(client | ||
.set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint | ||
.set_project('5df5acd0d48c2') # Your project ID | ||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key | ||
) | ||
|
||
teams = Teams(client) | ||
|
||
result = teams.list_memberships('[TEAM_ID]') |
Oops, something went wrong.