from appwrite.client import Client client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint client.set_project('') # Your project ID client.set_key('') # Your secret API key messaging = Messaging(client) result = messaging.create_textmagic_provider( provider_id = '', name = '', from = '+12065550100', # optional username = '', # optional api_key = '', # optional enabled = False # optional )