Coder Social home page Coder Social logo

messagemedia / messages-python-sdk Goto Github PK

View Code? Open in Web Editor NEW
6.0 7.0 9.0 187 KB

MessageMedia Python SDK for sending and receiving messages

Home Page: https://developers.messagemedia.com/

License: Apache License 2.0

Python 100.00%
sms messaging messagemedia python sms-api sms-messages sms-gateway sms-client

messages-python-sdk's People

Contributors

bmostafa87 avatar c4phesua avatar electrokean avatar fmr avatar fredpwol avatar gtremoyne avatar hoangngthanh avatar ibrahimtareq avatar isthiiii avatar jamesdale avatar shravan-g avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

messages-python-sdk's Issues

Python SDK is not working

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.

AttributeError

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'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.