{ "info": { "author": "Slava Savitskiy", "author_email": "slava@sinch.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Communications", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Python module for sending sms with Sinch\n----------------------------------------\n\nInstallation\n~~~~~~~~~~~~\n\n.. code:: bash\n\n pip install sinchsms\n\nUsage example\n~~~~~~~~~~~~~\n\n.. code:: python\n\n import time\n from sinchsms import SinchSMS\n\n number = '+46000000001'\n message = 'Hello from Sinch!'\n\n client = SinchSMS(your_app_key, your_app_secret)\n\n print(\"Sending '%s' to %s\" % (message, number))\n response = client.send_message(number, message)\n message_id = response['messageId']\n\n response = client.check_status(message_id)\n while response['status'] != 'Successful':\n print(response['status'])\n time.sleep(1)\n response = client.check_status(message_id)\n print(response['status'])\n\n.. note::\n\n You will need a Sinch account for getting your application key and secret. Visit www.sinch.com to get started.\n\nUsing as command line script\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n.. code:: bash\n\n ./sinchsms.py\n usage: sinchsms.py send \n sinchsms.py status ", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/sinch/python-sinch-sms.git", "keywords": "sms,sinch", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "sinchsms", "package_url": "https://pypi.org/project/sinchsms/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/sinchsms/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/sinch/python-sinch-sms.git" }, "release_url": "https://pypi.org/project/sinchsms/1.0.4/", "requires_dist": null, "requires_python": null, "summary": "A module to send sms using the Sinch REST apis, www.sinch.com", "version": "1.0.4" }, "last_serial": 2273405, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "3b4d51f927d2691d622bdb536a245449", "sha256": "8cdab75ef6ec4c8552b276f9e283d623ffbd096d19ae73a17164b21a55fbe5e1" }, "downloads": -1, "filename": "sinchsms-1.0.tar.gz", "has_sig": false, "md5_digest": "3b4d51f927d2691d622bdb536a245449", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1709, "upload_time": "2014-12-05T09:52:11", "url": "https://files.pythonhosted.org/packages/54/13/ce984aa3b2e6d77b61fc2bf0da6ddae7512aec6c5616f7cf8055ccbdd0df/sinchsms-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "b5ecc6fb815c0814f6c9cf61d5b7e6c3", "sha256": "832f66b5386e3976202b525a9093124cd88c4752d23d441d5e0c152e3be017ac" }, "downloads": -1, "filename": "sinchsms-1.0.1.tar.gz", "has_sig": false, "md5_digest": "b5ecc6fb815c0814f6c9cf61d5b7e6c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3222, "upload_time": "2014-12-10T08:14:02", "url": "https://files.pythonhosted.org/packages/14/e4/927cf1f79109f4e13ffaf12511e06da4b7707dfb54014c8d4dab8622a62b/sinchsms-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "8e54d7d70d69bcd2526b78c7024e014e", "sha256": "467b63ace89b9dc65697f4b0a17a9513a6f28f59a69a2defd769b0838c96cf07" }, "downloads": -1, "filename": "sinchsms-1.0.2.tar.gz", "has_sig": false, "md5_digest": "8e54d7d70d69bcd2526b78c7024e014e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3201, "upload_time": "2014-12-10T08:25:06", "url": "https://files.pythonhosted.org/packages/02/fe/0cd57d5d6113153b99ac074491a9e23a200329a116601918cf3c1e546cc9/sinchsms-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "9c084d6a30d511d3016bae121c54897e", "sha256": "851fee9ea7d49a7686d54c8deadfbb9410246cead0f85c221321b8a3f095c187" }, "downloads": -1, "filename": "sinchsms-1.0.3.tar.gz", "has_sig": false, "md5_digest": "9c084d6a30d511d3016bae121c54897e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3203, "upload_time": "2014-12-10T08:26:39", "url": "https://files.pythonhosted.org/packages/00/41/451ddd2aa988e1156d47342a35fb782c3f7b583f4dd5c9f565cd84157ead/sinchsms-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "e1e84e4ef13f1ec6c2d93530845e672d", "sha256": "7b84c97baff6f845a573fc5912ad44cc15e2613727ca4f4efa3d48ea75dbd24f" }, "downloads": -1, "filename": "sinchsms-1.0.4.tar.gz", "has_sig": false, "md5_digest": "e1e84e4ef13f1ec6c2d93530845e672d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3203, "upload_time": "2016-08-10T10:08:22", "url": "https://files.pythonhosted.org/packages/36/4c/47099a633d0ec855344962871b85b1f4006062b5261d3870e00ca678dccb/sinchsms-1.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e1e84e4ef13f1ec6c2d93530845e672d", "sha256": "7b84c97baff6f845a573fc5912ad44cc15e2613727ca4f4efa3d48ea75dbd24f" }, "downloads": -1, "filename": "sinchsms-1.0.4.tar.gz", "has_sig": false, "md5_digest": "e1e84e4ef13f1ec6c2d93530845e672d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3203, "upload_time": "2016-08-10T10:08:22", "url": "https://files.pythonhosted.org/packages/36/4c/47099a633d0ec855344962871b85b1f4006062b5261d3870e00ca678dccb/sinchsms-1.0.4.tar.gz" } ] }