Description
Dear reader,
I'm trying to implement your awesome SMS API into my Python final assignmetn (for higher education semester 1). The deadline is two weeks from now and I've been busy for 2 weeks..
The following guide:
https://developers.messagebird.com/quickstarts/sms/send-sms-python
- pip install messagebird was succesfull
But after that you ask to place an recipient and originator.
By copy/pasting your tutorial code and insert my own phone number, I still don't get the program to run. I've managed to do it in Node.JS and those instructions were clear. I ask if you please create the SMS feature locally in Python by following exactly the tutorial please.
Does that work for you then?
I have tried your template and then tried editing to:
import messagebird
client = messagebird.Client('ypt3ryCKm0WnfppAQt3hcd0Yt')
message = client.message_create(
'+31610433256',
{'originator': '+31610433256'},
{'recepient': '+31610433256'},
'Hello World, mijn eerste SMS',
{ 'reference' : 'Foobar' }
)
But I receive in both cases:
code:
send_sms.py : The term 'send_sms.py' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
- send_sms.py
-
- CategoryInfo : ObjectNotFound: (send_sms.py:String) [], CommandNotFoundException
- FullyQualifiedErrorId : CommandNotFoundException
Can you please help me?
Kind regards,
Leroy Andrade