13 lines
259 B
Markdown
13 lines
259 B
Markdown
from appwrite.client import Client
|
|
from appwrite.services.teams import Teams
|
|
|
|
client = Client()
|
|
|
|
(client
|
|
.set_project('')
|
|
.set_key('')
|
|
)
|
|
|
|
teams = Teams(client)
|
|
|
|
result = teams.create_membership('[TEAM_ID]', 'email@example.com', {}, 'https://example.com')
|