from CMText.TextClient import TextClient

# Message to be send
message = 'Examples message to be send'
message2 = 'Examples 2 message to be send'

# Recipients
to = ['003156789000', '002134567890']

# Instantiate client with your own api-key
client = TextClient(apikey=UNIQUE_API_KEY)

# Add a message to the queue
client.AddMessage(message=message, from_='pythonSDK', to=to)
client.AddMessage(message=message2, from_='CM.com', to=to)

# Send the messages
response = client.send()

# Print response
print(response.text)

from CMText.TextClient import TextClient

# Message to be send
message = 'Examples message to be send'
message2 = 'Examples 2 message to be send'

# Recipients
to = ['003156789000', '002134567890']

# Instantiate client with your own api-key
client = TextClient(apikey=UNIQUE_API_KEY)

# Add a message to the queue
client.AddMessage(message=message, from_='pythonSDK', to=to)
client.AddMessage(message=message2, from_='CM.com', to=to)

# Send the messages
response = client.send()

# Print response
print(response.text)

# Message to be send # Recipients # Instantiate client with your own api-key # Add a message to the queue # Send the messages # Print response