messagemedia / messages-python-sdk Goto Github PK
View Code? Open in Web Editor NEWMessageMedia Python SDK for sending and receiving messages
Home Page: https://developers.messagemedia.com/
License: Apache License 2.0
MessageMedia Python SDK for sending and receiving messages
Home Page: https://developers.messagemedia.com/
License: Apache License 2.0
Python example with my credentials and my phone number (+61 and so on):
root@ext-somehost-01:~ # ./sms.py
INFO:message_media_messages.controllers.messages_controller:create_send_messages called.
INFO:message_media_messages.controllers.messages_controller:Preparing query URL for create_send_messages.
INFO:message_media_messages.controllers.messages_controller:Preparing headers for create_send_messages.
INFO:message_media_messages.controllers.messages_controller:Preparing and executing request for create_send_messages.
INFO:message_media_messages.controllers.messages_controller:Merging global headers with endpoint headers for create_send_messages.
INFO:message_media_messages.controllers.messages_controller:Wrapping request and response in a context object for create_send_messages.
INFO:message_media_messages.controllers.messages_controller:Validating response for create_send_messages.
ERROR:message_media_messages.controllers.messages_controller:HTTP response not OK.
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/message_media_messages/controllers/messages_controller.py", line 359, in create_send_messages
self.validate_response(_context)
File "build/bdist.linux-x86_64/egg/message_media_messages/controllers/base_controller.py", line 120, in validate_response
raise APIException('HTTP response not OK.', context)
APIException: HTTP response not OK.
Traceback (most recent call last):
File "./sms.py", line 23, in <module>
result = messages_client.create_send_messages(body)
File "build/bdist.linux-x86_64/egg/message_media_messages/controllers/messages_controller.py", line 359, in create_send_messages
File "build/bdist.linux-x86_64/egg/message_media_messages/controllers/base_controller.py", line 120, in validate_response
message_media_messages.exceptions.api_exception.APIException: HTTP response not OK.
While following the instructions listed on the 'Python in under 2 minutes' page, I ran into the following error:
Traceback (most recent call last): File "index.py", line 22, in <module> result = messages_client.create_send_messages(body) AttributeError: 'MessagesController' object has no attribute 'create_send_messages'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.