smsapi / smsapi-python-client

SMSAPI Python client that allows you to send messages, manage Short URLs and administrate your SMSAPI account.
https://www.smsapi.com/
Other
55 stars 34 forks source link

Authorization failed #30

Closed amirping closed 3 years ago

amirping commented 3 years ago

can't send an SMS, always return 101 code. I'm using a generated API Token with full rights and no expire time.

try:
...
contact = client.sms.send(
                        to=formatted_number, message=message, from_="***"
                    )
except SmsApiException as e:
...
amirping commented 3 years ago

Nevermind i had to import SmsApiComClient and not the other one